summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-09-02 10:41:57 -0400
committerJesse Luehrs <doy@tozt.net>2013-09-02 10:53:53 -0400
commit39d3a137834aa90350e1947b734e003986bd5d78 (patch)
tree147d41d5229decd3089d2198587385f1cb55e9c2 /lib
parent31a50c75661e9bb58026643cecc11e448544e80e (diff)
downloadweb-request-39d3a137834aa90350e1947b734e003986bd5d78.tar.gz
web-request-39d3a137834aa90350e1947b734e003986bd5d78.zip
fix uri escaping (backported from Plack 5f9c372)
Diffstat (limited to 'lib')
-rw-r--r--lib/Web/Request.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Web/Request.pm b/lib/Web/Request.pm
index 597530e..6b53b7c 100644
--- a/lib/Web/Request.pm
+++ b/lib/Web/Request.pm
@@ -112,8 +112,7 @@ has uri => (
# in, we recognize it as /foo/bar which is not ideal, but that's
# how the PSGI PATH_INFO spec goes and we can't do anything
# about it. See PSGI::FAQ for details.
- # http://github.com/miyagawa/Plack/issues#issue/118
- my $path_escape_class = '^A-Za-z0-9\-\._~/';
+ my $path_escape_class = q{^/;:@&=A-Za-z0-9\$_.+!*'(),-};
my $path = URI::Escape::uri_escape(
$self->path_info || '',