From 7d68101f83a28323fa24b1f705881415ccbe6467 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 Mar 2006 13:09:30 +0000 Subject: Prevent uploading to a URL that has no file name part. --- tests/data/test524 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/data/test524 (limited to 'tests/data') 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 @@ + + +FTP +UPLOAD + + + +# +# Server-side + + + +# +# Client-side + + +ftp + + +lib524 + + +FTP upload with target URL ending with slash + +# first URL then proxy + +ftp://%HOSTIP:%FTPPORT/path/to/ + + + +# +# Verify data after the test has been "shot" + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD + + +# 3 is CURLE_URL_MALFORMAT + +3 + + -- cgit v1.2.3