You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2016/07/18 14:09:38 UTC

svn commit: r1753229 - /httpd/httpd/trunk/server/util_script.c

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