]> granicus.if.org Git - apache/commitdiff
mod_proxy_fcgi: follow up to r1638818.
authorYann Ylavic <ylavic@apache.org>
Sat, 15 Nov 2014 00:35:37 +0000 (00:35 +0000)
committerYann Ylavic <ylavic@apache.org>
Sat, 15 Nov 2014 00:35:37 +0000 (00:35 +0000)
Let ap_scan_script_header*() validate the headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1639812 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_fcgi.c

index fb71b5074b955d56306bccd5868c98fcd6159427..9a4dd77a3e48145d10fc000316cbd31784f1c5a5 100644 (file)
@@ -348,11 +348,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)