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

Remove obsolete block-all-mixed-content CSP directive #63595

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Remove obsolete block-all-mixed-content CSP directive #63595

merged 2 commits into from
Mar 25, 2024

Conversation

Juneezee
Copy link
Contributor

The block-all-mixed-content CSP directive has been deprecated and it is not recommended to use it anymore.

Furthermore, the upgrade-insecure-requests directive is evaluated before block-all-mixed-content, if the former is set, the latter does nothing.

Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content
Reference: https://www.w3.org/TR/mixed-content/#strict-checking

The `block-all-mixed-content` CSP directive has been deprecated and it
is not recommended to use it anymore [1].

Furthermore, the `upgrade-insecure-requests` directive is evaluated
before `block-all-mixed-content`, if the former is set, the latter does
nothing.

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

Reference: https://www.w3.org/TR/mixed-content/#strict-checking
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@Juneezee Juneezee requested review from a team as code owners March 22, 2024 05:55
@Juneezee Juneezee requested review from ismaelrumzan and StephDietz and removed request for a team March 22, 2024 05:55
@ijjk ijjk added area: documentation examples Issue/PR related to examples labels Mar 22, 2024
@ijjk
Copy link
Member

ijjk commented Mar 22, 2024

Allow CI Workflow Run

  • approve CI run for commit: 1907aeb

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk ijjk merged commit 3ba3eeb into vercel:canary Mar 25, 2024
30 checks passed
@github-actions github-actions bot added the locked label Apr 9, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants