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/test1323 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/data/test1323 (limited to 'tests/data/test1323') diff --git a/tests/data/test1323 b/tests/data/test1323 new file mode 100644 index 000000000..90eb88b7d --- /dev/null +++ b/tests/data/test1323 @@ -0,0 +1,29 @@ + + + +SMTP +CRLF-in-URL + + + +# Client-side + + +smtp + + +SMTP with URL-encoded CR LF in the URL + + +smtp://%HOSTIP:%SMTPPORT/%0d%0a/1323 + + + +# + +# 3 - CURLE_URL_MALFORMAT + +3 + + + -- cgit v1.2.3