diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-02-10 10:50:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-02-10 14:51:53 +0100 |
commit | c5c4e816b461f69fa21699841a8ddd883cf4b46a (patch) | |
tree | 8bc4675863dd64b7cfb60a2b768946922d1b76a6 /tests/data/test1259 | |
parent | 7017c421a1683a809c7cc18459a16bafc736626f (diff) |
URL: only accept ";options" in SMTP/POP3/IMAP URL schemes
Fixes #1252
Diffstat (limited to 'tests/data/test1259')
-rw-r--r-- | tests/data/test1259 | 47 |
1 files changed, 47 insertions, 0 deletions
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 @@ +<testcase> +<info> +<keywords> +HTTP +HTTP GET +</keywords> +</info> + +# Server-side +<reply> +<data> +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 +</data> +</reply> + +# Client-side +<client> +<server> +http +</server> + <name> +HTTP URL with semicolon in password + </name> + <command> +"http://user:pass;word@%HOSTIP:%HTTPPORT/we/want/1259" +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<protocol> +GET /we/want/1259 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Authorization: Basic dXNlcjpwYXNzO3dvcmQ=
+Accept: */*
+
+</protocol> +</verify> +</testcase> |