- Issue created by @gapple
Libraries may have additional directives or sources that cannot be parsed from their definition:
If an additional set of CSP info can be provided in library definitions, then it is not necessary to implement an alter event subscriber to modify the policy. If a library specifies script-src-elem
or style-src-elem
, those values could be used instead of parsing the library's files for domains.
Add a new key to library definitions, which is parsed by the Library Policy Builder.
Active
2.0
Code