- Issue created by @gapple
- Status changed to Fixed
8 months ago 9:52am 2 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.
In 2.0.0, 'none'
no longer gets special treatment - in 1.x is would disable/remove other sources.
fallbackAwareAppendIfEnabled does not copy other values to descendent directives as expected if 'none'
is present.
1. Set a fallback directive like default-src to 'none' example.com
2. Call fallbackAwareAppendIfEnabled on another directive (e.g. script-src) with an additional value
All of the default source values should be copied to the new directive, but instead only the new value is set.
Copy all values from a fallback directive, instead of an empty array.
Fixed
2.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.