httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1753229 - /httpd/httpd/trunk/server/util_script.c
Date Mon, 18 Jul 2016 14:09:38 GMT
Author: wrowe
Date: Mon Jul 18 14:09:38 2016
New Revision: 1753229

URL: http://svn.apache.org/viewvc?rev=1753229&view=rev
Log:
Optimization to httpoxy workaround, for 2.4.23+ only.

Submitted by: ylavic

Modified:
    httpd/httpd/trunk/server/util_script.c

Modified: httpd/httpd/trunk/server/util_script.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_script.c?rev=1753229&r1=1753228&r2=1753229&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_script.c (original)
+++ httpd/httpd/trunk/server/util_script.c Mon Jul 18 14:09:38 2016
@@ -190,7 +190,7 @@ AP_DECLARE(void) ap_add_common_vars(requ
          * proxies, don't let clients set/override it.  But, if you must...
          */
 #ifndef SECURITY_HOLE_PASS_PROXY
-        else if (!strcasecmp(hdrs[i].key, "Proxy")) {
+        else if (!ap_cstr_casecmp(hdrs[i].key, "Proxy")) {
             ;
         }
 #endif



Mime
View raw message