DEV: Add manifest-src to CSP (#13319)

Defaults to `manifest-src: 'self'` and allows plugins/themes to extend it.
This commit is contained in:
Penar Musaraj
2021-06-08 09:32:31 -04:00
committed by GitHub
parent 9e426d33c7
commit 8336e732d3
4 changed files with 14 additions and 3 deletions

View File

@ -8,5 +8,6 @@
extend_content_security_policy(
script_src: ['https://from-plugin.com'],
object_src: ['https://test-stripping.com'],
frame_ancestors: ['https://frame-ancestors-plugin.ext']
frame_ancestors: ['https://frame-ancestors-plugin.ext'],
manifest_src: ['https://manifest-src.com']
)