Page output · Question 12 of 12
How does an extension ship its own CSP rules?
1 answer is correct. Hard
Show answer
Answer
- C Via Configuration/ContentSecurityPolicies.php, which returns a map of Scope (frontend or backend) to MutationCollection objects
Explanation
Every mutation names mode, directive and sources; the scope is mandatory, so a rule never applies automatically to frontend and backend at once.