* Fix PR36906 by not lower caseing the whole worker name. Only lower case the
schema when storing the worker url. Thus preventing case sensitive URI's in
BalancerMembers to get broken.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@328465
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.1.9
+ *) mod_proxy: Do not lowercase the entire worker name of a BalancerMember
+ since this breaks case sensitive URI's. PR36906. [Ruediger Pluem]
+
*) core: AddOutputFilterByType is ignored for proxied requests. PR31226.
[Joe Orton, Ruediger Pluem]
return "BalancerMember must define remote proxy server";
ap_str_tolower(path); /* lowercase scheme://hostname */
- ap_str_tolower(name); /* lowercase scheme://hostname */
/* Try to find existing worker */
worker = ap_proxy_get_worker(cmd->temp_pool, conf, name);
}
ap_str_tolower(uri.hostname);
+ ap_str_tolower(uri.scheme);
*worker = apr_array_push(conf->workers);
memset(*worker, 0, sizeof(proxy_worker));
(*worker)->name = apr_uri_unparse(p, &uri, APR_URI_UNP_REVEALPASSWORD);