Skip to content

Commit a03c7f6

Browse files
authored
profiles: curl: allow ~/.netrc (#6736)
From curl(1): > -n, --netrc > Make curl scan the .netrc file in the user's home directory for > login name and password. This is typically used for FTP on > Unix. If used with HTTP, curl enables user authentication. See > netrc(5) and ftp(1) for details on the file format. curl does > not complain if that file does not have the right permissions > (it should be neither world- nor group-readable). The > environment variable "HOME" is used to find the home directory. Environment: curl 8.13.0-2 on Artix Linux. This is a follow-up to #6735.
1 parent 8958722 commit a03c7f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/profile-a-l/curl.profile

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ noblacklist ${HOME}/.config/curlrc # since curl 7.73.0
1515
# and 'noblacklist /path/to/curl/hsts/file' to curl.local to keep the sandbox logic intact.
1616
noblacklist ${HOME}/.curl-hsts
1717
noblacklist ${HOME}/.curlrc
18+
noblacklist ${HOME}/.netrc
1819

1920
blacklist ${RUNUSER}
2021

0 commit comments

Comments
 (0)