There appears to be a bug with this change where netrc lookup now fails to select the correct entry, instead defaulting to the first user entry every time. This was working in v7.61.1 and earlier.
Example netrc file:
The following examples running under Solaris 11 pick up the wrong netrc user entry:
curl --verbose --netrc --user fdxfer: ftp://ftp.gam.com
curl --verbose --netrc --user pilling: ftp://ftp.gam.com
The text was updated successfully, but these errors were encountered:
- for "--netrc", don't ignore the login/password specified with "--user", only ignore the login/password in the URL. This restores the netrc behaviour of curl 7.61.1 and earlier. - fix the documentation of CURL_NETRC_REQUIRED - improve the detection of login/password changes when reading .netrc - don't read .netrc if both login and password are already set Fixes curl#3213