httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1639812 - /httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
Date Sat, 15 Nov 2014 00:35:37 GMT
Author: ylavic
Date: Sat Nov 15 00:35:37 2014
New Revision: 1639812

URL: http://svn.apache.org/r1639812
Log:
mod_proxy_fcgi: follow up to r1638818.
Let ap_scan_script_header*() validate the headers.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=1639812&r1=1639811&r2=1639812&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Sat Nov 15 00:35:37 2014
@@ -348,11 +348,8 @@ static int handle_headers(request_rec *r
                      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)



Mime
View raw message