aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test524
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-03-03 13:09:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-03-03 13:09:30 +0000
commit7d68101f83a28323fa24b1f705881415ccbe6467 (patch)
tree0eba93f5995b9221367e1f39327790bc3eda3e70 /tests/data/test524
parentaa50a00898495b2f3a4334ecbe4d81efa6dd6b6b (diff)
Prevent uploading to a URL that has no file name part.
Diffstat (limited to 'tests/data/test524')
-rw-r--r--tests/data/test52444
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test524 b/tests/data/test524
new file mode 100644
index 000000000..36946667c
--- /dev/null
+++ b/tests/data/test524
@@ -0,0 +1,44 @@
+<info>
+<keywords>
+FTP
+UPLOAD
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+ftp
+</server>
+<tool>
+lib524
+</tool>
+ <name>
+FTP upload with target URL ending with slash
+ </name>
+# first URL then proxy
+ <command>
+ftp://%HOSTIP:%FTPPORT/path/to/
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+</protocol>
+
+# 3 is CURLE_URL_MALFORMAT
+<errorcode>
+3
+</errorcode>
+</verify>