[PR #6120] [MERGED] profiles: curl: add ~/.config/curlrc #5832

Closed
opened 2026-05-05 10:45:46 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6120
Author: @ghost
Created: 12/10/2023
Status: Merged
Merged: 12/11/2023
Merged by: @kmk3

Base: masterHead: curl-rc


📝 Commits (1)

  • 8382f20 curl: add support for ~/.config/curlrc

📊 Changes

2 files changed (+2 additions, -0 deletions)

View changed files

📝 etc/inc/disable-programs.inc (+1 -0)
📝 etc/profile-a-l/curl.profile (+1 -0)

📄 Description

curl supports several locations for 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"

[...]

This PR adds support for ~/.config/curlrc.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/6120 **Author:** [@ghost](https://github.com/ghost) **Created:** 12/10/2023 **Status:** ✅ Merged **Merged:** 12/11/2023 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `curl-rc` --- ### 📝 Commits (1) - [`8382f20`](https://github.com/netblue30/firejail/commit/8382f203757d87feeea7d326e0f9e41f89103092) curl: add support for ~/.config/curlrc ### 📊 Changes **2 files changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/inc/disable-programs.inc` (+1 -0) 📝 `etc/profile-a-l/curl.profile` (+1 -0) </details> ### 📄 Description curl supports several locations for 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" [...] This PR adds support for ~/.config/curlrc. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:45:46 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5832
No description provided.