From: Jeff Trawick Date: Thu, 17 Jan 2002 02:22:22 +0000 (+0000) Subject: Fix a problem in the parsing of the directive. X-Git-Tag: 2.0.31~179 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf5f58a851002dd2d139d59797c4e669a8e03fa6;p=apache Fix a problem in the parsing of the directive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92882 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index dc8fb06cf1..0584ed86b7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ Changes with Apache 2.0.31-dev + + *) Fix a problem in the parsing of the directive. + [Jeff Trawick] + *) rewrite of mod_ssl input filter for better performance and less memory usage [Doug MacEachern] diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index 0a2880b0bf..b82657e128 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -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() */