From c5c4e816b461f69fa21699841a8ddd883cf4b46a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 10 Feb 2017 10:50:19 +0100 Subject: URL: only accept ";options" in SMTP/POP3/IMAP URL schemes Fixes #1252 --- tests/data/test1259 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/data/test1259 (limited to 'tests/data/test1259') diff --git a/tests/data/test1259 b/tests/data/test1259 new file mode 100644 index 000000000..bad4ee25e --- /dev/null +++ b/tests/data/test1259 @@ -0,0 +1,47 @@ + + + +HTTP +HTTP GET + + + +# Server-side + + +HTTP/1.0 200 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Type: text/html +Set-Cookie: I-am=here; domain=localhost; + +boo + + + +# Client-side + + +http + + +HTTP URL with semicolon in password + + +"http://user:pass;word@%HOSTIP:%HTTPPORT/we/want/1259" + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /we/want/1259 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Authorization: Basic dXNlcjpwYXNzO3dvcmQ= +Accept: */* + + + + -- cgit v1.2.3