httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Blumkin <vadim.blum...@gmail.com>
Subject [users@httpd] URL is decoded when it should be forwarded as is
Date Sun, 17 Aug 2014 11:59:55 GMT
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

Mime
View raw message