-
Notifications
You must be signed in to change notification settings - Fork 40
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 for URLs #59
Comments
Before I can decide if this needs to go in at 1.0 or if it should be delayed until after 1.0 is released, we need to answer the question of whether there should be a Content-Security-Policy by default. I think the answer's no, since the default setting blocks all CSS and JavaScript, while CSP is a way to restrict where CSS and JavaScript come from (as well as images, multimedia, objects, fonts, and a few other things that can usually be safely loaded from anywhere anyway). |
https://github.com/notriddle/rust-content-security-policy/ Unless somebody knows of a Content-Security-Policy parser. I couldn't find one after a brief search of Crates.IO. |
https://github.com/notriddle/ammonia/issues/57#issuecomment-332423056
Just to be clear:
The text was updated successfully, but these errors were encountered: