]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_authnz_fcgi: follow up to r1639717.
authorYann Ylavic <ylavic@apache.org>
Sat, 15 Nov 2014 00:37:13 +0000 (00:37 +0000)
committerYann Ylavic <ylavic@apache.org>
Sat, 15 Nov 2014 00:37:13 +0000 (00:37 +0000)
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

modules/aaa/mod_authnz_fcgi.c

index 360d5ce8660b924eb20e8ef5a071e19066646534..1385b82e0fab85936b1f55befb8d1b0c1e6a4031 100644 (file)
@@ -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)