From c11c30a8c8d727dcf5634fa0cc6ee0b4b77ddc3d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 11 Jan 2012 15:46:19 +0100 Subject: tests: test CRLF in URLs Related to the security vulnerability: CVE-2012-0036 Bug: http://curl.haxx.se/docs/adv_20120124.html --- tests/data/test1324 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/data/test1324 (limited to 'tests/data/test1324') 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 @@ + + + +IMAP +CRLF-in-URL + + + +# Client-side + + +imap + + +IMAP with URL-encoded CR LF in the URL + + +imap://%HOSTIP:%IMAPPORT/%0d%0a/1322 + + + +# + +# 3 - CURLE_URL_MALFORMAT + +3 + + + -- cgit v1.2.3