FreeBSD Bugzilla – Attachment 122587 Details for
Bug 165809
add mod_proxy patch to www/apache22
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ap.patch
ap.patch (text/plain), 1.12 KB, created by
freebsd
on 2012-03-07 09:10:06 UTC
(
hide
)
Description:
ap.patch
Filename:
MIME Type:
Creator:
freebsd
Created:
2012-03-07 09:10:06 UTC
Size:
1.12 KB
patch
obsolete
>diff -Naur apache22.bak/files/patch-modules__proxy__proxy_util.c apache22/files/patch-modules__proxy__proxy_util.c >--- apache22.bak/files/patch-modules__proxy__proxy_util.c 1970-01-01 01:00:00.000000000 +0100 >+++ apache22/files/patch-modules__proxy__proxy_util.c 2012-03-06 22:46:13.000000000 +0100 >@@ -0,0 +1,21 @@ >+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 165809
: 122587