URL is decoded when it should be forwarded as is

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

 



Hi,

 

I encountered with some problem when HTTP delete URL contains special characters like , ‘?/.’

 

Apache receives following URL:

DELETE /filter/delete/test%3Fname HTTP/1.1

 

But instead of sending it as is , apache is doing decoding and sending it like this:

 

DELETE /filter/delete/test?name HTTP/1.1

 

(In this example , site have a filter name = “test?name” and send HTTP DELETE request to delete it)

 

 

I have already tried to add AllowEncodedSlashes key but without success.

AllowEncodedSlashes NoDecode

or

AllowEncodedSlashes On

 

 

In addition , I have rewrite rule that moves the http request to port 7001:

RewriteRule ^/( filter /.*) http://127.0.0.1:7001/$1 [P,NC]

 

Maybe something wrong with my rewrite rule ?

 

I very appreciate any help

 

Thanks a lot,

Vadim


[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