-
Notifications
You must be signed in to change notification settings - Fork 369
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
block-all-mixed-content directive is deprecated #372
Comments
Thanks for reporting! I'll look into this for the next major version. |
Ok let me know your thoughts on this ! |
Will do. I'm busy this week but will take a look sometime after that. |
I spent a little time thinking about this. The directive is deprecated, so we should eventually remove it. But some old browsers likely still respect it, and there's probably still some security benefit there. I'm thinking of leaving it in and revisiting this in a year. What do you think? |
Forgot the links : |
It doesn't benefit really old browsers, but it does seem to benefit some. For example, according to Can I Use, Firefox 48–101 supports this directive and has 2.85% usage globally. Maybe it makes sense to continue to support it for awhile? Does it hurt anything, other than bandwidth? |
Indeed Firefox 48-101 supports it but it also supports It doesn't hurt to keep it, but a no-op has no benefits doesn't it ? I haven't seen a browser supporting |
I agree that we should remove it if it's truly a no-op. Does it do anything on ANY browser if upgrade-insecure-requests is set?
|
The MDN says
So the |
I'll take a look. If it's completely useless for all browsers, I want to remove it. If it's useful for some browsers, then it's a harder question. |
What is your final decision ? |
Sorry, I haven't had time to look into this. It's still on my list. |
Took a look at this. We should remove the header. I'll review #371 now. Sorry for the delay! |
To quote [MDN][mdn]: > Deprecated: This feature is no longer recommended. Though some > browsers might still support it, it may have already been removed from > relevant web standards [...]. Avoid using it, and update existing code > if possible [...] See [#371][371] and [#372][372]. [mdn]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content [371]: #371 [372]: #372
|
To quote [MDN][mdn]: > Deprecated: This feature is no longer recommended. Though some > browsers might still support it, it may have already been removed from > relevant web standards [...]. Avoid using it, and update existing code > if possible [...] See [#371][371] and [#372][372]. [mdn]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content [371]: #371 [372]: #372
The block-all-mixed-content directive is deprecated and not recommended
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content
Should we remove it ? PR#371
The text was updated successfully, but these errors were encountered: