Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant