From a25959184e9c69ee61f0250888269097810c3c65 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 7 Jul 2008 23:52:52 +0000 Subject: Added test cases 1034 & 1035 to test IDN name conversion failures. --- tests/data/test1034 | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 tests/data/test1034 (limited to 'tests/data/test1034') diff --git a/tests/data/test1034 b/tests/data/test1034 new file mode 100644 index 000000000..09b8406f6 --- /dev/null +++ b/tests/data/test1034 @@ -0,0 +1,62 @@ + + + +HTTP +HTTP GET +IDN +FAILURE + + + +# +# Server-side + + +HTTP/1.0 503 Service Unavailable +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake swsclose +Content-Type: text/html +Funny-head: yesyes + + + + +# +# Client-side + + +http + + +idn + + +CHARSET=UTF-8 + + +HTTP over proxy with malformatted IDN host name + + +# This host name contains an invalid UTF-8 byte sequence that can't be +# converted into an IDN name + +http://invalid-utf8-.local/page/1034 -x %HOSTIP:%HTTPPORT + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET http://invalid-utf8-.local/page/1034 HTTP/1.1 +Host: invalid-utf8-.local +Pragma: no-cache +Accept: */* +Proxy-Connection: Keep-Alive + + + + -- cgit v1.2.3