aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2023-12-11 17:35:35 +0000
committerLibravatar GitHub <noreply@github.com>2023-12-11 17:35:35 +0000
commitb2850f9f58bb6ffa05248a80e936d675fa196cdd (patch)
treeac0f3e31066f3a77212da7ff7cf6e7245d238c45 /etc
parentsteam.profile: Allow Project Zomboid (#6117) (diff)
downloadfirejail-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')
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-a-l/curl.profile1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index f28f2ef19..50e4854ac 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -411,6 +411,7 @@ blacklist ${HOME}/.config/com.github.bleakgrey.tootle
411blacklist ${HOME}/.config/com.lettura.dev 411blacklist ${HOME}/.config/com.lettura.dev
412blacklist ${HOME}/.config/corebird 412blacklist ${HOME}/.config/corebird
413blacklist ${HOME}/.config/coyim 413blacklist ${HOME}/.config/coyim
414blacklist ${HOME}/.config/curlrc
414blacklist ${HOME}/.config/d-feet 415blacklist ${HOME}/.config/d-feet
415blacklist ${HOME}/.config/darktable 416blacklist ${HOME}/.config/darktable
416blacklist ${HOME}/.config/deadbeef 417blacklist ${HOME}/.config/deadbeef
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
8include globals.local 8include globals.local
9 9
10noblacklist ${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.