diff options
author | Jan Kneschke <jan@kneschke.de> | 2006-03-04 17:09:52 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2006-03-04 17:09:52 +0000 |
commit | 1343f4c08160f18b9aacb1c9ba3d3c3a8b251d2e (patch) | |
tree | 2480d329a05c1cd391389865a0845fc9d2113bfb /tests | |
parent | 9d3c1b09deda48ef6d8be46983680a76a2f203e0 (diff) | |
download | lighttpd-git-1343f4c08160f18b9aacb1c9ba3d3c3a8b251d2e.tar.gz |
check for trailing spaces on windows
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1023 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/mod-fastcgi.t | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t index d3ea4a86..4d84cd2b 100755 --- a/tests/mod-fastcgi.t +++ b/tests/mod-fastcgi.t @@ -115,6 +115,13 @@ EOF ok($tf->handle_http($t) == 0, 'PATHINFO'); $t->{REQUEST} = ( <<EOF +GET /cgi.php%20%20%20 HTTP/1.0 +EOF + ); + $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 404 } ]; + ok($tf->handle_http($t) == 0, 'No source retrieval'); + + $t->{REQUEST} = ( <<EOF GET /www/abc/def HTTP/1.0 EOF ); |