From 482fb9dc3e4e18b2d7023bcab82d65f84d4dd813 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 28 Sep 2005 22:20:16 +0000 Subject: [PATCH] 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 --- src/sbbs3/websrvr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c index 28d2615f2c..90be87dc5b 100644 --- a/src/sbbs3/websrvr.c +++ b/src/sbbs3/websrvr.c @@ -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); } -- GitLab