This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no good solution to implement nonce and hash exists current styled-components/styled-components#2363 vercel/next.js#18557 (comment)
vishnukvmd
approved these changes
Jan 4, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
_headers
because static exported files don't retain the headers [1]style-src
unsafe-inline allowed [2][3]script-src
unsafe-eval allowed [4][5]connect-src
https://ente-prod-eu.s3.eu-central-003.backblazeb2.com
[1] https://nextjs.org/docs/advanced-features/static-html-export#unsupported-features
[2] vercel/next.js#18557
[3] styled-components/styled-components#2363
[4] WebAssembly/content-security-policy#7
[5] strukturag/libheif#173
Test Plan
Observatory shows that the intended directives have been activated:
https://observatory.mozilla.org/analyze/web-security.bada-frame.pages.dev