-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
feat: Selective CSP header stripping from HTTPResponse #26483
Merged
mjhenkes
merged 27 commits into
cypress-io:develop
from
pgoforth:issue-1030/pgoforth/load-site-witout-csp-header-stripping
Jun 14, 2023
+2,421
−15
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
de633a1
feat: Selective CSP header directive stripping from HTTPResponse
pgoforth b66f778
feat: Selective CSP header directive permission from HTTPResponse
pgoforth 517cf6c
Address Review Comments:
pgoforth 52f78a7
chore: refactor driver test into system tests to get better test
AtofStryker f2b5bc1
Address Review Comments:
pgoforth 85cfaff
chore: Add `frame-src` and `child-src` to conditional CSP directives
pgoforth 2886cd9
chore: Rename `isSubsetOf` to `isArrayIncludingAny`
pgoforth 4a19a59
chore: fix CLI linting types
AtofStryker ebbe44c
chore: fix server unit tests
AtofStryker 952d092
chore: fix system tests within firefox and webkit
AtofStryker d2057be
chore: add form-action test
AtofStryker 361a9eb
chore: update system test snapshots
AtofStryker bfd150d
chore: skip tests in webkit due to form-action flakiness
AtofStryker e1142ec
chore: Move 'sandbox' and 'navigate-to' into `unsupportedCSPDirectives`
pgoforth c240e41
chore: update system test snapshots
AtofStryker afa19c1
chore: fix system tests
AtofStryker 7219304
chore: do not run csp tests within firefox or webkit due to flake iss…
AtofStryker d3c9a9a
chore: attempt to increase intercept delay to avoid race condition
AtofStryker c599a2b
Merge branch 'develop' of github.com:cypress-io/cypress into issue-10…
AtofStryker 16310ff
Merge branch 'develop' into issue-1030/pgoforth/load-site-witout-csp-…
AtofStryker 980b4f7
Merge branch 'develop' of github.com:cypress-io/cypress into issue-10…
AtofStryker 41945cd
chore: update new snapshots with video defaults work
AtofStryker 27b6a7c
chore: update changelog
AtofStryker c91a96a
Merge branch 'develop' into issue-1030/pgoforth/load-site-witout-csp-…
mschile 76b20db
Merge branch 'develop' into issue-1030/pgoforth/load-site-witout-csp-…
AtofStryker 2796e4e
Merge branch 'develop' into issue-1030/pgoforth/load-site-witout-csp-…
AtofStryker 161a603
Merge branch 'develop' into issue-1030/pgoforth/load-site-witout-csp-…
AtofStryker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
note to myself that we will need to deploy the on links (see release process step 2)for this to work. I will take care of creating the manifest PR for this next week
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.
@mschile since this isn't making it into today's release you may have to handle it for the next release