FTP: remove trailing slash from path for LIST/MLSD

Closes #4348
This commit is contained in:
Zenju 2019-09-13 17:32:04 +02:00 committed by Daniel Stenberg
parent ac58c51b29
commit 1c02a4e874
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 12 additions and 13 deletions

View file

@ -49,9 +49,9 @@ PASS ftp@example.com
PWD
EPSV
TYPE A
LIST /list/this/path/1010/
LIST /list/this/path/1010
EPSV
LIST /list/this/path/1010/
LIST /list/this/path/1010
QUIT
</protocol>
</verify>

View file

@ -57,7 +57,7 @@ TYPE A
LIST
CWD /
EPSV
LIST list/this/path/1149/
LIST list/this/path/1149
QUIT
</protocol>
</verify>

View file

@ -47,7 +47,7 @@ PASS ftp@example.com
PWD
EPSV
TYPE A
LIST fir#t/third/244/
LIST fir#t/third/244
QUIT
</protocol>
</verify>

View file

@ -64,7 +64,7 @@ SYST
CWD /
EPSV
TYPE A
LIST path/to/the/file/539./
LIST path/to/the/file/539.
QUIT
</protocol>
</verify>