summaryrefslogtreecommitdiffstats
path: root/httpd-2.4.2-r1365604.patch
diff options
context:
space:
mode:
Diffstat (limited to 'httpd-2.4.2-r1365604.patch')
-rw-r--r--httpd-2.4.2-r1365604.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/httpd-2.4.2-r1365604.patch b/httpd-2.4.2-r1365604.patch
new file mode 100644
index 0000000..d7b962f
--- /dev/null
+++ b/httpd-2.4.2-r1365604.patch
@@ -0,0 +1,15 @@
+# ./pullrev.sh 1365604
+
+http://svn.apache.org/viewvc?view=revision&revision=1365604
+
+--- httpd-2.4.2/modules/proxy/proxy_util.c
++++ httpd-2.4.2/modules/proxy/proxy_util.c
+@@ -852,7 +852,7 @@
+ (balancer = ap_proxy_get_balancer(r->pool, sconf, real, 1))) {
+ int n, l3 = 0;
+ proxy_worker **worker = (proxy_worker **)balancer->workers->elts;
+- const char *urlpart = ap_strchr_c(real, '/');
++ const char *urlpart = ap_strchr_c(real + sizeof(BALANCER_PREFIX) - 1, '/');
+ if (urlpart) {
+ if (!urlpart[1])
+ urlpart = NULL;