Skip to content

Remove deprecated/obsolete CSP directive#26754

Merged
guardrex merged 1 commit into
mainfrom
guardrex-patch-1
Aug 18, 2022
Merged

Remove deprecated/obsolete CSP directive#26754
guardrex merged 1 commit into
mainfrom
guardrex-patch-1

Conversation

@guardrex
Copy link
Copy Markdown
Collaborator

@guardrex guardrex commented Aug 16, 2022

Fixes #26483

Thanks @yugabe! 🚀

block-all-mixed-content is deprecated and obsolete.

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

Warning: This directive is marked as obsolete in the specification: all mixed content is now blocked if it can't be autoupgraded.

Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content

@guardrex guardrex requested a review from TanayParikh August 16, 2022 15:43
@guardrex guardrex merged commit 950c7ac into main Aug 18, 2022
@guardrex guardrex deleted the guardrex-patch-1 branch August 18, 2022 17:20
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

Successfully merging this pull request may close these issues.

Do not promote using the CSP directive "block-all-mixed-content"

1 participant