Skip to content
Snippets Groups Projects
Commit 482fb9dc authored by deuce's avatar deuce
Browse files

Change to webcontrol.ini logic...

Now reads EVERY matching key with keys at the beginning of the file being
overriden by later keys.

[*.cgi]
Realm=CGI Scripts

[*.*]
ARS=LEVEL 90

Would have both applied to *.cgi and level 90 applied to everything
regardless of order in the .ini file whereas:

[*.cgi]
Realm=CGI Scripts
ARS=Level 50

[*.*]
ARS=Level90

Would behave differently than:

[*.*]
ARS=Level 90

[*.cgi]
Realm=CGI Scripts
ARS=Level 50

In the former, the ARS=Level 50 line would be overridden by the ARS=Level 90
parent 63b09d34
No related branches found
No related tags found
No related merge requests found
......@@ -2141,8 +2141,6 @@ static BOOL check_request(http_session_t * session)
prep_dir(root_dir, str, sizeof(str));
session->req.cgi_dir=strdup(str);
}
free(spec);
break;
}
free(spec);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment