From e8f85cba0f8c19369d39b1c6616dc51dae1dd179 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 14 Oct 2004 13:44:54 +0000 Subject: Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name and password fields properly in URLs, like ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix. --- tests/data/Makefile.am | 2 +- tests/data/test191 | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 tests/data/test191 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 7a00695c0..3a317ea59 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -26,7 +26,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test512 test165 test166 test167 test168 test169 test170 test171 \ test172 test204 test205 test173 test174 test175 test176 test177 \ test513 test514 test178 test179 test180 test181 test182 test183 \ - test184 test185 test186 test187 test188 test189 + test184 test185 test186 test187 test188 test189 test191 # The following tests have been removed from the dist since they no longer # work. We need to fix the test suite's FTPS server first, then bring them diff --git a/tests/data/test191 b/tests/data/test191 new file mode 100644 index 000000000..c3baf57bc --- /dev/null +++ b/tests/data/test191 @@ -0,0 +1,33 @@ +# Server-side + + +data in file + + + +# Client-side + + +ftp + + +FTP URL with ?-letters in username and password + + +"ftp://use?r:pass?word@%HOSTIP:%FTPPORT/191" + + + +# Verify data after the test has been "shot" + + +USER use?r +PASS pass?word +PWD +EPSV +TYPE I +SIZE 191 +RETR 191 +QUIT + + -- cgit v1.2.3