]> granicus.if.org Git - apache/commitdiff
Optimization to httpoxy workaround, for 2.4.23+ only.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 18 Jul 2016 14:09:38 +0000 (14:09 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 18 Jul 2016 14:09:38 +0000 (14:09 +0000)
Submitted by: ylavic

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

server/util_script.c

index 3b047bcb1a5e6d9fa5e3f1cabfc3d6b225b4b5d7..443dfb60b88a404279f254578b64ca59125a1b8a 100644 (file)
@@ -190,7 +190,7 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r)
          * 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