]> granicus.if.org Git - apache/commitdiff
Fix a problem in the parsing of the <Proxy foo> directive.
authorJeff Trawick <trawick@apache.org>
Thu, 17 Jan 2002 02:22:22 +0000 (02:22 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 17 Jan 2002 02:22:22 +0000 (02:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92882 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/proxy/mod_proxy.c

diff --git a/CHANGES b/CHANGES
index dc8fb06cf10345ef117481b192704aa8d3097ac2..0584ed86b70bcc22f9010fc792eb949f6e507dae 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,8 @@
 Changes with Apache 2.0.31-dev
+
+  *) Fix a problem in the parsing of the <Proxy foo> directive.
+     [Jeff Trawick]
+
   *) rewrite of mod_ssl input filter for better performance and less
      memory usage [Doug MacEachern]
 
index 0a2880b0bf27670993d9a901a1fab12b991fc8e3..b82657e128849fb5190e64b09e972462198bb17c 100644 (file)
@@ -873,10 +873,10 @@ static const char *proxysection(cmd_parms *cmd, void *mconfig, const char *arg)
     cmd->path = ap_getword_conf(cmd->pool, &arg);
     cmd->override = OR_ALL|ACCESS_CONF;
 
-    if (strncasecmp(cmd->path, "proxy:", 6))
+    if (!strncasecmp(cmd->path, "proxy:", 6))
         cmd->path += 6;
 
-    /* XXX Ignore case?  What if we proxy a case-insenstive server?!? 
+    /* XXX Ignore case?  What if we proxy a case-insensitive server?!? 
      * While we are at it, shouldn't we also canonicalize the entire
      * scheme?  See proxy_fixup()
      */