FTP: url-decode path before evaluation

Closes #4423
This commit is contained in:
Zenju 2019-09-25 17:48:53 +02:00 committed by Daniel Stenberg
parent 0ab38f5fd6
commit 2f036a72d5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 126 additions and 172 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