ASF Bugzilla – Attachment 28547 Details for
Bug 52774
RewriteRules within outgoing proxy no longer work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Example of possible fix.
bug52774.diff (text/plain), 624 bytes, created by
Petr Sumbera
on 2012-04-05 15:30:21 UTC
(
hide
)
Description:
Example of possible fix.
Filename:
MIME Type:
Creator:
Petr Sumbera
Created:
2012-04-05 15:30:21 UTC
Size:
624 bytes
patch
obsolete
>--- httpd-2.2.22/modules/mappers/mod_rewrite.c.orig Tue Jan 24 11:39:31 2012 >+++ httpd-2.2.22/modules/mappers/mod_rewrite.c Thu Apr 5 07:37:37 2012 >@@ -4266,9 +4266,13 @@ > return DECLINED; > } > >- if ((r->unparsed_uri[0] == '*' && r->unparsed_uri[1] == '\0') >- || !r->uri || r->uri[0] != '/') { >+ if ((r->unparsed_uri[0] == '*' && r->unparsed_uri[1] == '\0') || !r->uri) { > return DECLINED; >+ } else if (r->uri[0] != '/') { >+ if (strncmp(r->uri, "http://" , 7) != 0 && >+ strncmp(r->uri, "https://", 8 )!= 0) { >+ return DECLINED; >+ } > } > > /*
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 52774
: 28547 |
28842
|
28843