2.2.x patch: http://people.apache.org/~druggeri/patches/httpd-2.2.x-failontimeout.patch
+1: druggeri
- * mod_proxy_balancer: Correct doubled-slash ProxyPassReverse
- PR: 51489 51982
- Backport of r1386576, r1386578 attached to 51982
- https://issues.apache.org/bugzilla/attachment.cgi?id=30179&action=diff
- +1: wrowe, druggeri, humbedooh
-
* mod_ssl: Catch missing, mismatched or encrypted client cert/key pairs
with SSLProxyMachineCertificateFile/Path directives. PR 52212, PR 54698.
(check at startup, to prevent segfaults at proxy request time)
}
}
else if (l1 >= l2 && strncasecmp(worker->name, url, l2) == 0) {
- u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL);
+ /* edge case where fake is just "/"... avoid double slash */
+ if ((ent[i].fake[0] == '/') && (ent[i].fake[1] == 0) && (url[l2] == '/')) {
+ u = apr_pstrdup(r->pool, &url[l2]);
+ } else {
+ u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL);
+ }
return ap_construct_url(r->pool, u, r);
}
worker++;