FTP: url-decode path before evaluation

Closes #4428
This commit is contained in:
Zenju 2019-09-25 17:48:53 +02:00 committed by Daniel Stenberg
parent 73089bf7f3
commit 500fb0e4cb
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 126 additions and 170 deletions

View file

@ -34,7 +34,8 @@ FTP URL with type=i
USER anonymous
PASS ftp@example.com
PWD
CWD /tmp
CWD /
CWD tmp
CWD moo
EPSV
TYPE I

View file

@ -32,7 +32,8 @@ FTP URL with type=a
USER anonymous
PASS ftp@example.com
PWD
CWD /tmp
CWD /
CWD tmp
CWD moo
EPSV
TYPE A