ASF Bugzilla – Attachment 24757 Details for
Bug 38864
ProxyPassReverse fails in <Location>
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch (text/plain), 811 bytes, created by
Nick Kew
on 2009-12-25 07:31:18 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Nick Kew
Created:
2009-12-25 07:31:18 UTC
Size:
811 bytes
patch
obsolete
>Index: modules/proxy/proxy_util.c >=================================================================== >--- modules/proxy/proxy_util.c (revision 893855) >+++ modules/proxy/proxy_util.c (working copy) >@@ -1117,6 +1117,16 @@ > } > else { > l2 = strlen(real); >+ if (real[0] == '/') { >+ const char *part = strstr(url, "://"); >+ if (part) { >+ part = strstr(part+3, "/"); >+ if (part) { >+ url = part; >+ l1 = strlen(url); >+ } >+ } >+ } > if (l1 >= l2 && strncasecmp(real, url, l2) == 0) { > u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL); > return ap_construct_url(r->pool, u, r);
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 38864
: 24757