Skip to content

Add better content security policy support #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dustinsoftware opened this issue Nov 27, 2017 · 1 comment
Closed

Add better content security policy support #482

dustinsoftware opened this issue Nov 27, 2017 · 1 comment

Comments

@dustinsoftware
Copy link
Member

Instead of needing to specify unsafe-inline, allow specifying a "nonce" to the rendered script tags. If this nonce matches the value in the CSP header, the script will be allowed to run.

MDN docs

@dustinsoftware
Copy link
Member Author

I'm planning on opening a PR for this one without objection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant