-
-
Couldn't load subscription status.
- Fork 465
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
The current implementation of the ContentSecurityPolicy header only supports a single directive.
This header typically includes multiple directives.
Describe the solution you'd like
I'd like for the CSP header to support multiple directives.
Describe alternatives you've considered
There are currently two workarounds;
- Using
Header.Customand providing the full CSP as the value - Providing multiple CSP headers, each containing a single directive; however, this is tricky and comes with gotchas
Additional context
Mozilla
CSP Quick Reference Guide
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request