mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
41 lines
493 B
Plaintext
41 lines
493 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
PASV
|
||
|
CWD
|
||
|
--ftp-method
|
||
|
singlecwd
|
||
|
</keywords>
|
||
|
</info>
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
<name>
|
||
|
FTP using %00 in path with singlecwd
|
||
|
</name>
|
||
|
<command>
|
||
|
--ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/%00first/second/third/340
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
</protocol>
|
||
|
<errorcode>
|
||
|
3
|
||
|
</errorcode>
|
||
|
</verify>
|
||
|
</testcase>
|