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:
4
CHANGES
4
CHANGES
@@ -1,4 +1,8 @@
|
|||||||
Changes with Apache 2.0.31-dev
|
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
|
*) rewrite of mod_ssl input filter for better performance and less
|
||||||
memory usage [Doug MacEachern]
|
memory usage [Doug MacEachern]
|
||||||
|
|
||||||
|
@@ -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->path = ap_getword_conf(cmd->pool, &arg);
|
||||||
cmd->override = OR_ALL|ACCESS_CONF;
|
cmd->override = OR_ALL|ACCESS_CONF;
|
||||||
|
|
||||||
if (strncasecmp(cmd->path, "proxy:", 6))
|
if (!strncasecmp(cmd->path, "proxy:", 6))
|
||||||
cmd->path += 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
|
* While we are at it, shouldn't we also canonicalize the entire
|
||||||
* scheme? See proxy_fixup()
|
* scheme? See proxy_fixup()
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user