pub-dev
pub-dev copied to clipboard
harden CSP policies further
Check: https://csp-evaluator.withgoogle.com It seems it's not enough to trust specific domains.
We should probably use:
-
hash, and, -
strict-dynamic -
block-all-mixed-content
Or nonce as this yields shorter headers and we are slowly giving up caching of rendered HTML.
This is still valid
This is still valid.
We might have to integrate deeper with dartdoc's templates to prevent problems from occuring.