Skip to content
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

Content Security Policy hates inline JS #38

Open
GBH opened this issue Jan 10, 2018 · 0 comments
Open

Content Security Policy hates inline JS #38

GBH opened this issue Jan 10, 2018 · 0 comments

Comments

@GBH
Copy link

GBH commented Jan 10, 2018

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src

So the example provided won't work. The only work-around I could figure out was moving url and settings into meta tags as you can't even hash that script tag due to dynamic values.

If somebody has a better idea, I'm all ears.

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