ASF Bugzilla – Attachment 17573 Details for
Bug 34602
mod_rewrite fails to correctly deal with URLS that have escapes in them
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Escape internal redirects for 2.0.55
mod_rewrite-escape-internal-redirect.patch (text/plain), 752 bytes, created by
Oldrich Jedlicka
on 2006-02-02 18:29:41 UTC
(
hide
)
Description:
Escape internal redirects for 2.0.55
Filename:
MIME Type:
Creator:
Oldrich Jedlicka
Created:
2006-02-02 18:29:41 UTC
Size:
752 bytes
patch
obsolete
>--- httpd-2.0.55/modules/mappers/mod_rewrite.c.orig 2006-02-02 16:32:43.000000000 +0100 >+++ httpd-2.0.55/modules/mappers/mod_rewrite.c 2006-02-02 16:57:56.000000000 +0100 >@@ -1687,6 +1687,13 @@ > } > } > >+ /* now prepare the redirect... */ >+ if (rulestatus != ACTION_NOESCAPE) { >+ rewritelog(r, 1, "[per-dir %s] escaping %s for redirect", >+ dconf->directory, r->filename); >+ r->filename = ap_escape_uri(r->pool, r->filename); >+ } >+ > /* now initiate the internal redirect */ > rewritelog(r, 1, "[per-dir %s] internal redirect with %s " > "[INTERNAL REDIRECT]", dconf->directory, r->filename);
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 34602
:
15000
| 17573 |
20217