diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-01-11 15:46:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-01-24 08:54:26 +0100 |
commit | c11c30a8c8d727dcf5634fa0cc6ee0b4b77ddc3d (patch) | |
tree | bb50ea23b104ba2f6d793903164364649fe11b9a /tests/data/test1324 | |
parent | 75ca568fa1c19de4c5358fed246686de8467c238 (diff) | |
download | curl-c11c30a8c8d727dcf5634fa0cc6ee0b4b77ddc3d.tar.gz |
tests: test CRLF in URLs
Related to the security vulnerability: CVE-2012-0036
Bug: http://curl.haxx.se/docs/adv_20120124.html
Diffstat (limited to 'tests/data/test1324')
-rw-r--r-- | tests/data/test1324 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/data/test1324 b/tests/data/test1324 new file mode 100644 index 000000000..c9835efea --- /dev/null +++ b/tests/data/test1324 @@ -0,0 +1,29 @@ +<testcase> +<info> +<keywords> +IMAP +CRLF-in-URL +</keywords> +</info> + +# Client-side +<client> +<server> +imap +</server> + <name> +IMAP with URL-encoded CR LF in the URL + </name> + <command> +imap://%HOSTIP:%IMAPPORT/%0d%0a/1322 +</command> +</client> + +# +<verify> +# 3 - CURLE_URL_MALFORMAT +<errorcode> +3 +</errorcode> +</verify> +</testcase> |