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

Enhancement: Content Security Policy support #115

Open
patrick-steele-idem opened this issue Jan 13, 2016 · 2 comments
Open

Enhancement: Content Security Policy support #115

patrick-steele-idem opened this issue Jan 13, 2016 · 2 comments

Comments

@patrick-steele-idem
Copy link
Contributor

Currently, Marko Widgets renders inline <script> tags on the server, uses eval() and it uses inline styles in a few places. Inline script and styles are not allowed with a strict CSP unless they tags are whitelisted using a nonce attribute. Also, eval() is currently used to parse sanitized JSON data sent from the server for performance reasons, but in CSP mode we should use JSON.parse().

Related issue for Lasso.js: lasso-js/lasso#93

@maberer
Copy link
Contributor

maberer commented Jan 13, 2016

For further information on this specific topic, #27 should be considered related to this issue.

@patrick-steele-idem
Copy link
Contributor Author

Doh. Thanks for the reminder @tindli :)

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

2 participants