1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Fix a problem in the parsing of the <Proxy foo> directive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92882 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2002-01-17 02:22:22 +00:00
parent ae33d7594f
commit cf5f58a851
2 changed files with 6 additions and 2 deletions

View File

@@ -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]

View 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()
*/