mirror of
https://github.com/curl/curl.git
synced 2026-08-24 17:43:32 +03:00
netrc: refactor into smaller sub functions
Fixes #20950 - test 685 is extended for this Closes #20932
This commit is contained in:
parent
a46816b4cb
commit
a327a5bded
4 changed files with 334 additions and 221 deletions
|
|
@ -50,6 +50,11 @@ and similar things are not supported).
|
|||
The netrc file provides credentials for a hostname independent of which
|
||||
protocol and port number that are used.
|
||||
|
||||
When providing a username in the URL and a *.netrc* file, libcurl looks for
|
||||
and uses the password for that specific user for the given host if such an
|
||||
entry appears in the file before a "generic" `machine` entry without `login`
|
||||
specified.
|
||||
|
||||
libcurl does not verify that the file has the correct properties set (as the
|
||||
standard Unix ftp client does). It should only be readable by user.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue