From 364de65f8a6b5729027cb70228312a141430122f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 14 Feb 2017 22:45:15 +0000 Subject: www: do not unescape PATH_INFO twice PSGI specs already require PATH_INFO to be unescaped; so our tests were wrong, too. --- t/cgi.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/cgi.t b/t/cgi.t index 092ad8c7..77409660 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -148,7 +148,7 @@ EOF $im->add($reply); $im->done; - my $res = cgi_run("/test/slashy%2fasdf\@example.com/raw"); + my $res = cgi_run("/test/slashy/asdf\@example.com/raw"); like($res->{body}, qr/Message-Id: <\Q$slashy_mid\E>/, "slashy mid raw hit"); -- cgit v1.2.3-24-ge0c7