FEATURE: allow extending CSP base-uri and object-src

Plus, ensure :none is stripped, it cannot be combined with other sources
This commit is contained in:
Penar Musaraj
2019-01-09 15:33:42 -05:00
parent 9ba8bfb1aa
commit e11c6ffa89
3 changed files with 8 additions and 3 deletions

View File

@ -4,5 +4,6 @@
# authors: xrav3nz
extend_content_security_policy(
script_src: ['https://from-plugin.com']
script_src: ['https://from-plugin.com'],
object_src: ['https://test-stripping.com']
)