ASF Bugzilla – Attachment 29248 Details for
Bug 51489
ProxyPassReverse adds an additional slash in load balancer setups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix additional slash in load balancer setups
httpd-2.4.x_Fix_additional_slash_in_load_balancer_setups.patch (text/plain), 651 bytes, created by
Micha Lenk
on 2012-08-17 15:09:10 UTC
(
hide
)
Description:
Fix additional slash in load balancer setups
Filename:
MIME Type:
Creator:
Micha Lenk
Created:
2012-08-17 15:09:10 UTC
Size:
651 bytes
patch
obsolete
>Index: modules/proxy/proxy_util.c >=================================================================== >--- modules/proxy/proxy_util.c (revision 1374290) >+++ modules/proxy/proxy_util.c (working copy) >@@ -895,6 +895,8 @@ > } > else if (l1 >= l2 && strncasecmp((*worker)->s->name, url, l2) == 0) { > u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL); >+ if ((ent[i].fake[0] == '/') && (ent[i].fake[1] == 0) && (url[l2] == '/')) >+ u++; > return ap_is_url(u) ? u : ap_construct_url(r->pool, u, r); > } > worker++;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51489
:
27275
|
29145
| 29248