-
Notifications
You must be signed in to change notification settings - Fork 686
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
Fix no html only headers #2618
Fix no html only headers #2618
Conversation
This is great! :) Before closing #2342, I don't think we should overlook #2342 (comment):
And aside from the potentially sizable list of content-types with the ability to fetch files, or execute scripts such as the common PDF ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sarvaje Unless I'm missing something, I think you missed the occurrences of X-WebKit-CSP
?
Maybe we should think in having a new hint only for CSP. |
There's #25 |
Ups, I didn't remember that hehehe |
Changes done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
Can you add explicit test cases for application/xhtml+xml
and text/xml
too? Now that I'm looking at the code I'm not convinced it's going to handle the text/xml
case correctly in particular.
I saw a few places X-Frame-Options
still needs to be removed from the documentation (couldn't reference them since they were too far away from the diffs).
Also feel free to clean up any other redundant type specifications you see while we're in here.
it would be nice to have a second opinion about the changes in the servers configuration. |
fe8f1e4
to
b2991e0
Compare
Pull request checklist
Make sure you:
For non-trivial changes, please make sure you also:
Short description of the change(s)
Fix #2342
Fix #2349