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