httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1208069 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Tue, 29 Nov 2011 21:14:48 GMT
Author: jim
Date: Tue Nov 29 21:14:47 2011
New Revision: 1208069

URL: http://svn.apache.org/viewvc?rev=1208069&view=rev
Log:
Ensure casing doesn't matter... (we know balancer->s->name is
lc)

Modified:
    httpd/httpd/trunk/modules/proxy/proxy_util.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1208069&r1=1208068&r2=1208069&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Tue Nov 29 21:14:47 2011
@@ -1300,6 +1300,7 @@ PROXY_DECLARE(proxy_balancer *) ap_proxy
     int i;
     unsigned int hash;
 
+    ap_str_tolower(uri);
     c = strchr(uri, ':');
     if (c == NULL || c[1] != '/' || c[2] != '/' || c[3] == '\0') {
         return NULL;



Mime
View raw message