Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Following a5b9363, this enables the new "Trusted Types" Content Security Policy for the ades website to prevent XSS vulnerabilities sneaking in in the future (currently there are no violations so there should be no XSS vulnerabilities). I tested this change on a5b9363~1 and it did indeed detect the violation and prevent XSS (by throwing an error). In browsers without support for the Trusted Types API this change has no effect (though it may produce a warning about unknown CSP directives). Trusted Types: https://developer.mozilla.org/en-US/docs/Web/API/Trusted_Types_API CSP: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP Signed-off-by: Eric Cornelissen <ericornelissen@gmail.com>
- Loading branch information