aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test191
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-14 13:44:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-14 13:44:54 +0000
commite8f85cba0f8c19369d39b1c6616dc51dae1dd179 (patch)
tree0ba45c10cc1e443272b7ec668c5d87b8a66717ca /tests/data/test191
parent1aba99b1e74114743e5302dd0512ccd5c5aedbae (diff)
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.
Diffstat (limited to 'tests/data/test191')
-rw-r--r--tests/data/test19133
1 files changed, 33 insertions, 0 deletions
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
+<reply>
+<data>
+data in file
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP URL with ?-letters in username and password
+ </name>
+ <command>
+"ftp://use?r:pass?word@%HOSTIP:%FTPPORT/191"
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER use?r
+PASS pass?word
+PWD
+EPSV
+TYPE I
+SIZE 191
+RETR 191
+QUIT
+</protocol>
+</verify>