You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Arne Heizmann <Ar...@csr.com> on 2005/09/09 15:58:45 UTC

[users@httpd] RewriteRule wrongly de-escapes %xx; how to stop it?

Hi,

it seems that if I have a RewriteRule like this:

   RewriteRule ^/blah/(.*) /script.php?param=$1 [PT]

and then I go to /blah/%2520 (for example), Apache actually calls 
/script.php?param=%20 and not, as you would expect, /script.php?param=%2520.

How do I stop this from happening?

Thanks,
Arne


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org