Revert "FTP: url-decode path before evaluation"

This reverts commit 2f036a72d5.
This commit is contained in:
Daniel Stenberg 2019-09-26 14:52:30 +02:00
parent 0ccdec339d
commit ea7744a07e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 172 additions and 126 deletions

View file

@ -121,6 +121,7 @@ struct ftp_conn {
char *entrypath; /* the PWD reply when we logged on */
char **dirs; /* realloc()ed array for path components */
int dirdepth; /* number of entries used in the 'dirs' array */
int diralloc; /* number of entries allocated for the 'dirs' array */
char *file; /* url-decoded file name (or path) */
bool dont_check; /* Set to TRUE to prevent the final (post-transfer)
file size and 226/250 status check. It should still