From: Jim Jagielski Date: Tue, 29 Nov 2011 21:14:47 +0000 (+0000) Subject: Ensure casing doesn't matter... (we know balancer->s->name is X-Git-Tag: 2.5.0-alpha~7779 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=619f36bf8000982e6efd91530658347c41b34a2a;p=thirdparty%2Fapache%2Fhttpd.git Ensure casing doesn't matter... (we know balancer->s->name is lc) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1208069 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index d8c45e5210b..2af6768d181 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1300,6 +1300,7 @@ PROXY_DECLARE(proxy_balancer *) ap_proxy_get_balancer(apr_pool_t *p, int i; unsigned int hash; + ap_str_tolower(uri); c = strchr(uri, ':'); if (c == NULL || c[1] != '/' || c[2] != '/' || c[3] == '\0') { return NULL;