From: Yann Ylavic Date: Sat, 15 Nov 2014 00:37:13 +0000 (+0000) Subject: mod_authnz_fcgi: follow up to r1639717. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0de137d15e7b712bdd30fad3d8849d76e513d1b3;p=thirdparty%2Fapache%2Fhttpd.git mod_authnz_fcgi: follow up to r1639717. Let ap_scan_script_header*() validate the headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1639814 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_authnz_fcgi.c b/modules/aaa/mod_authnz_fcgi.c index 360d5ce8660..1385b82e0fa 100644 --- a/modules/aaa/mod_authnz_fcgi.c +++ b/modules/aaa/mod_authnz_fcgi.c @@ -442,11 +442,8 @@ static int handle_headers(request_rec *r, int *state, break; } } - else if (*itr == '\t' || !apr_iscntrl(*itr)) { - *state = HDR_STATE_READING_HEADERS; - } else { - return -1; + *state = HDR_STATE_READING_HEADERS; } if (*state == HDR_STATE_DONE_WITH_HEADERS)