httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34602] - mod_rewrite fails to correctly deal with URLS that have escapes in them
Date Mon, 30 May 2005 20:19:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34602>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34602





------- Additional Comments From michael.sinz@sinz.org  2005-05-30 22:19 -------
(In reply to comment #5)
> If I remember right URLs that are rewritten will be escaped by defult. Maybe
> there is still a problem above and beyond this but I didn't see you mention
> tests using the "NE" option, per the apache 2 docs this is defined as:

I know what the NE option does, but if you look at the rewrite rules, none of
the rules actually use special caracters.  However, the URL has special
characters in it.

The examples at http://svn.sinz.com/rewrite-test/index.html show this as the URL
passed into the rewrite engine has the special characters and yet the data
within the CGIs shows that something bad has happened.  The test page referenced
above shows three frames, one each of not-rewritten, R-rewritten, and
P-rewritten requests and what the CGI/Environment says is going on.

#######################################################################
RewriteRule	^redirect/(.*)$	"/rewrite-test/test.cgi/$1"	[R,L]
RewriteRule	^proxy/(.*)$	"/rewrite-test/test.cgi/$1"	[P,L]
#######################################################################

Given that all I do is take part of the URL and change it, this should
be the correct way of handling it.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message