lighttpd1.4/tests/bug-urldecode-00.sh

19 lines
199 B
Bash
Executable File

#!/bin/sh
test x$srcdir = x && srcdir=.
. $srcdir/testbase.sh
prepare_test
cat > $TMPFILE <<EOF
Check that %00 is decoded correctly
GET /%00 HTTP/1.0
Foo: foo
Foo: foo
Status: 404
EOF
run_test