Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use
Rack::Utils.unescape_path
to unescape path_info
Unescaping paths is different from unescaping query parameters. This commit changes the unescape to use the URI parser to unescape the path, which leaves `+` as `+`. Fixes #265 References rails/rails#11816
- Loading branch information
1 parent
978eb9b
commit 568cf72
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters