From 3050ae57c0ad3a071448fb36b5d5d720910d5d00 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 19 Jan 2005 21:56:02 +0000 Subject: Stephan Bergmann made libcurl return CURLE_URL_MALFORMAT if an FTP URL contains %0a or %0d in the user, password or CWD parts. (A future fix would include doing it for %00 as well - see KNOWN_BUGS for details.) Test case 225 and 226 were added to verify this --- tests/data/test226 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/data/test226 (limited to 'tests/data/test226') diff --git a/tests/data/test226 b/tests/data/test226 new file mode 100644 index 000000000..414438feb --- /dev/null +++ b/tests/data/test226 @@ -0,0 +1,20 @@ +# Client-side + + +ftp + + +FTP %0d-code in URL's CWD part + + +ftp://%HOSTIP:%FTPPORT/226%0d + + + +# Verify data after the test has been "shot" + +# 3 == CURLE_URL_MALFORMAT + +3 + + -- cgit v1.2.3