From 9bd03483ce6983852d41f5f69cb74827c9defc26 Mon Sep 17 00:00:00 2001 From: Claes Jakobsson Date: Wed, 6 Jan 2010 16:01:48 +0000 Subject: Julien Chaffraix fixed so that the fragment part in an URL is not sent to the server anymore --- tests/data/test1111 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tests/data/test1111 (limited to 'tests/data/test1111') diff --git a/tests/data/test1111 b/tests/data/test1111 new file mode 100644 index 000000000..0f8e0563c --- /dev/null +++ b/tests/data/test1111 @@ -0,0 +1,46 @@ + +# Test that no fragment is not send as part of the path when the URI contains 2 '#' (does not follow RFC 2396) + + +HTTP +CURLOPT_URL + + + +# Server-side + + +HTTP/1.1 200 OK +Content-Length: 6 + +hello + + + +# Client-side + + +http + + +HTTP GET + + +http://%HOSTIP:%HTTPPORT/1111?q=foobar#fragment#fragment2 + + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1111?q=foobar HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3