Re: [users@httpd] mod_rewrite decodes %20 -> 400 bad request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* <ogjunk-httpd1@xxxxxxxxx> wrote:

> Hi,
> 
> I "solved" this problem by substituting "%20" with "+" characters. 
> Apparently, mod_rewrite doesn't convert "+" to spaces as it does with
> "%20".

Your "problem" is home-made. mod_rewrite always works on the unescaped
URI-path and you're explicitly specifying by using [NE] that no escaping
on the final string should be done. So you end up with unescaped characters
in this final string (not only spaces will be a problem).

> I say "solved", as this is a hack, and I hate hacks... :(

Ha! Then mod_rewrite shouldn't is not a tool for you at all ;-)

nd

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux