Skip to content

Implemented allow_encoded_slashes aka handling of 2%F as part of the PAT...#1060

Open
mjaix wants to merge 2 commits intoPerlDancer:develfrom
mjaix:devel
Open

Implemented allow_encoded_slashes aka handling of 2%F as part of the PAT...#1060
mjaix wants to merge 2 commits intoPerlDancer:develfrom
mjaix:devel

Conversation

@mjaix
Copy link

@mjaix mjaix commented Aug 28, 2014

The implementation is similar to the Apache2 AllowEncodedSlashes directive (see http://httpd.apache.org/docs/2.2/mod/core.html).
RFC 3875 specifies that a server MAY reject encoded slashes, and implementing this feature
should really be done on the HTTP server level.
The problem here is that HTTP::Server::Simple and its use of CGI seems to be quite hard coded
from a Dancer point-of-view. Anyhow, the result passes all tests on Linux.
Feel free to pull the patch ... sorry for not choosing an appropriate branch on my side.
Any suggestions/corrections are highly welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant