allowed-uris: match whole schemes without slashes#9547
allowed-uris: match whole schemes without slashes#9547edolstra merged 9 commits intoNixOS:masterfrom
allowed-uris: match whole schemes without slashes#9547Conversation
198a725 to
6873ebb
Compare
6873ebb to
a05bc9e
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Scheme could be understood to include the typical `:` separator.
As requested by Eelco Dolstra. I think it used to be simpler.
This reverts commit 79eb292. Not used at this time.
0f6bd12 to
0b87ba5
Compare
|
(FYI #9593 seems perhaps tangentially related, or maybe I am confused.) |
|
@Ericson2314 Some things might come to light when refactoring libfetchers to an immutable style.
|
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2.19-maintenance
git worktree add -d .worktree/backport-9547-to-2.19-maintenance origin/2.19-maintenance
cd .worktree/backport-9547-to-2.19-maintenance
git switch --create backport-9547-to-2.19-maintenance
git cherry-pick -x 91ba7b230777e3fb023bda48c269d533702e50e8 6cbba914a70eb5da6447fee5528a63723ed13245 1fa958dda1ef0cb37441ef8d1a84faf6d501ac12 79eb2920bb51c7ec9528a403986e79f04738e2be d3a85b68347071d8d93ec796a38c707483d7b272 a05bc9eb92371af631fc9fb83c3595957fb56943 2e451a663eff96b89360cfd3c0d5eaa60ca46181 4eaeda6604e2f8977728f14415fe92350d047970 0b87ba50c08d83384e11a8e6db1e2f97fba4b61c |
[Backport 2.19-maintenance] `allowed-uris`: match whole schemes without slashes #9547
|
Naive question: |
|
That is a reasonable expectation @SuperSandro2000. Also |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Motivation
Allows the whitelisting of entire schemes. Besides hydra's use of the feature, this allows for instance the exclusion of
http:by listing out the other schemes.2.19:
Now:
Context
Discussed briefly on matrix.
Priorities
Add 👍 to pull requests you find important.