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

What is the intended method for re-enabling the Content-Security-Policy header? #298

Open
jamieweb opened this issue Jul 23, 2018 · 1 comment
Labels

Comments

@jamieweb
Copy link

Currently the Content-Security-Policy header is disabled by default when crawling.

It's possible to re-enable it using the crawler configuration: jQuery: false

Is this the intended way to re-enable the CSP header? At the moment it seems to be a side-effect of the jQuery configuration, rather than the primary intended effect.

I think that something such as a csp: true|false configuration would be useful for this.

The reason I am asking is that my project travis-ci_csp-tester specifically requires the CSP to be enabled, and I want to ensure that the jQuery: false configuration is reliable.

Thank you.

@acdha
Copy link

acdha commented Jan 3, 2019

@jamieweb Thanks for that post — having CSP disabled by default is not obvious from the documentation or the API guide.

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

No branches or pull requests

3 participants