current cgi.c,1.168,1.169
Fabian Keil <[email protected]> Mon, 23 Jan 2017 13:05:29 +0000
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16150
Modified Files:
cgi.c
Log Message:
cgi_error_disabled(): Use status code 403 and an appropriate response line
Index: cgi.c
===================================================================
RCS file: /cvsroot/ijbswa/current/cgi.c,v
retrieving revision 1.168
retrieving revision 1.169
diff -C2 -d -r1.168 -r1.169
*** cgi.c 23 Jan 2017 13:05:12 -0000 1.168
--- cgi.c 23 Jan 2017 13:05:26 -0000 1.169
***************
*** 1052,1055 ****
--- 1052,1057 ----
assert(rsp);
+ rsp->status = strdup_or_die("403 Request not trusted or feature disabled");
+
if (NULL == (exports = default_exports(csp, "cgi-error-disabled")))
{
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot