Skip to content

Commit

Permalink
r61414@17h: jesse | 2009-04-10 20:57:00 -0400
Browse files Browse the repository at this point in the history
 HTTP 0.9 requests aren't decoded as we'd expect


git-svn-id: svn://svn.bestpractical.com/HTTP-Server-Simple@19136 e417ac7c-1bcc-0310-8ffa-8f5827389a85
  • Loading branch information
obra committed Apr 11, 2009
1 parent a578ccb commit fdd5d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/04cgi.t
Expand Up @@ -60,13 +60,13 @@ my %envvars=(
}

like(
fetch("GET /cgitest/REQUEST_URI?foo%3Fbar",""),
fetch("GET /cgitest/REQUEST_URI?foo%3Fbar HTTP/1.0",""),
qr/foo%3Fbar/,
"Didn't decode already"
);

like(
fetch("GET /cgitest/foo%2Fbar/PATH_INFO",""),
fetch("GET /cgitest/foo%2Fbar/PATH_INFO HTTP/1.0",""),
qr|foo/bar|,
"Did decode already"
);
Expand Down

0 comments on commit fdd5d57

Please sign in to comment.