ftp: CURLOPT_FTP_SKIP_PASV_IP by default

The command line tool also independently sets --ftp-skip-pasv-ip by
default.

Ten test cases updated to adapt the modified --libcurl output.

Bug: https://curl.se/docs/CVE-2020-8284.html
CVE-2020-8284

Reported-by: Varnavas Papaioannou
This commit is contained in:
Daniel Stenberg 2020-11-24 14:56:57 +01:00
parent abd846c374
commit ec9cc725d5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
14 changed files with 18 additions and 3 deletions

View file

@ -44,6 +44,7 @@ void config_init(struct OperationConfig *config)
config->tcp_nodelay = TRUE; /* enabled by default */
config->happy_eyeballs_timeout_ms = CURL_HET_DEFAULT;
config->http09_allowed = FALSE;
config->ftp_skip_ip = TRUE;
}
static void free_config_fields(struct OperationConfig *config)