-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible/hg-web: use /static/ in script-src CSP policy (bug 1341344); …
…r=sheehan This is a security fix to prevent agents respecting CSP policies from loading scripts that come from content under version control (e.g. from hgweb's /raw-file/ URLs). I really wish CSP had a way to limit to paths via "self" so we didn't have to include the full URL for the server in the CSP policy. But what can you do. Differential Revision: https://phabricator.services.mozilla.com/D10963 --HG-- extra : rebase_source : 1f843fa596e747aeeb0be03de49944aa16ca0228 extra : amend_source : 5e68fda4e01deb63f48b112cbf18ee168d22794a
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters