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/test1035 | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tests/data/test1035 (limited to 'tests/data/test1035') diff --git a/tests/data/test1035 b/tests/data/test1035 new file mode 100644 index 000000000..f982d9d4c --- /dev/null +++ b/tests/data/test1035 @@ -0,0 +1,59 @@ + + + +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=ISO8859-1 + + +HTTP over proxy with too long IDN host name + + +http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%HTTPPORT + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/1035 HTTP/1.1 +Host: too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local +Pragma: no-cache +Accept: */* +Proxy-Connection: Keep-Alive + + + + -- cgit v1.2.3