You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/08/31 11:46:08 UTC

DO NOT REPLY [Bug 32328] - [PATCH] new rewrite map function for ampersand escaping

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=32328>.
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=32328


lowzl@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lowzl@hotmail.com




------- Additional Comments From lowzl@hotmail.com  2005-08-31 11:46 -------
The problem with rewriting /(.*) to /index.php?title=$1 is that $1 containing &
would not escaped correctly, even if the user's URL had escaped & to %26.

For example, /AT%26T would be rewritten to /index.php?title=AT&T instead of
/index.php?title=AT%26T - causing title to only contain 'AT' instead of the
expected 'AT&T'. 

I think this patch is important even though it is too special because & is a
important character in query strings - just as / is a very important character
in path strings - it is quite possible that this case would more often with
other web applications if people made more use of mod_rewrite.

-- 
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