diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2023-12-11 17:35:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 17:35:35 +0000 |
commit | b2850f9f58bb6ffa05248a80e936d675fa196cdd (patch) | |
tree | ac0f3e31066f3a77212da7ff7cf6e7245d238c45 /etc/profile-a-l/curl.profile | |
parent | steam.profile: Allow Project Zomboid (#6117) (diff) | |
download | firejail-b2850f9f58bb6ffa05248a80e936d675fa196cdd.tar.gz firejail-b2850f9f58bb6ffa05248a80e936d675fa196cdd.tar.zst firejail-b2850f9f58bb6ffa05248a80e936d675fa196cdd.zip |
curl: add support for ~/.config/curlrc (#6120)
curl supports several locations for the rc file according to its man
page:
[...]
When curl is invoked, it (unless -q, --disable is used) checks for a
default config file and uses it if found, even when -K, --config is
used. The default config file is checked for in the following places in
this order:
1) "$CURL_HOME/.curlrc"
2) "$XDG_CONFIG_HOME/curlrc" (Added in 7.73.0)
3) "$HOME/.curlrc"
[...]
Diffstat (limited to 'etc/profile-a-l/curl.profile')
-rw-r--r-- | etc/profile-a-l/curl.profile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/profile-a-l/curl.profile b/etc/profile-a-l/curl.profile index 42ade7ce9..417abcc91 100644 --- a/etc/profile-a-l/curl.profile +++ b/etc/profile-a-l/curl.profile | |||
@@ -7,6 +7,7 @@ include curl.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | noblacklist ${HOME}/.config/curlrc # since curl 7.73.0 | ||
10 | # curl 7.74.0 introduces experimental support for HSTS cache | 11 | # curl 7.74.0 introduces experimental support for HSTS cache |
11 | # https://daniel.haxx.se/blog/2020/11/03/hsts-your-curl/ | 12 | # https://daniel.haxx.se/blog/2020/11/03/hsts-your-curl/ |
12 | # Technically this file can be anywhere but let's assume users have it in ${HOME}/.curl-hsts. | 13 | # Technically this file can be anywhere but let's assume users have it in ${HOME}/.curl-hsts. |