Remove <Proxy ~ wildcard-url> syntax which:
- is equivalent to <ProxyMatch wildcard-url>
- has never been documented
- incorrectly checks parameters (!cmd->path should be !cmd->path[0])
- is buggy (! is missing in front of strncasecmp)
Submitted by: jailletc36
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1555552 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.8
+ *) mod_proxy: Remove <Proxy ~ wildcard-url> syntax which:
+ - is equivalent to <ProxyMatch wildcard-url>
+ - has never been documented
+ - incorrectly checks parameters
+ - is buggy
+ [Christophe Jaillet]
+
*) mod_authz_user: Support the expression parser within the require
directives. [Graham Leggett]
return "Regex could not be compiled";
}
}
- else if (!strcmp(cmd->path, "~")) {
- cmd->path = ap_getword_conf(cmd->pool, &arg);
- if (!cmd->path)
- return "<Proxy ~ > block must specify a path";
- if (strncasecmp(cmd->path, "proxy:", 6))
- cmd->path += 6;
- r = ap_pregcomp(cmd->pool, cmd->path, AP_REG_EXTENDED);
- if (!r) {
- return "Regex could not be compiled";
- }
- }
/* initialize our config and fetch it */
conf = ap_set_config_vectors(cmd->server, new_dir_conf, cmd->path,