-
Notifications
You must be signed in to change notification settings - Fork 9
fix(snapshot s3): reject object keys with ".." segments and never overwrite a downloaded object #1155
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
Merged
Merged
fix(snapshot s3): reject object keys with ".." segments and never overwrite a downloaded object #1155
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4e8a638
fix(snapshot s3): reject object keys with ".." segments and never ove…
AlexKantor87 9bb9ea5
test(snapshot s3): pin the object-key containment rule
AlexKantor87 456f075
docs(snapshot s3): state the object-key rule
AlexKantor87 9b0e634
fix(snapshot s3): count ".. " and "..." as ".." segments and point at…
AlexKantor87 ec7619f
Merge remote-tracking branch 'origin/main' into 6781-s3-key-containment
AlexKantor87 d77b4eb
fix(snapshot s3): name the object key when a download collides or its…
AlexKantor87 11e4a0f
fix(snapshot s3): only advise excluding a key when the key is the cause
AlexKantor87 5d37f00
docs(snapshot s3): say that include filters override exclude when adv…
AlexKantor87 a270b52
fix(snapshot s3): advise on an object-and-prefix clash and name the k…
AlexKantor87 e81d898
test(snapshot s3): say a segment resolves to "..", skip the chmod tes…
AlexKantor87 bed7567
test(snapshot s3): assert the Windows-only rejections per OS; note th…
AlexKantor87 4a2370b
test(aws): pin lexicographic ListObjectsV2 order in the S3 contract s…
AlexKantor87 b9cc318
test(aws): check listing order across pages and cover the MkdirAll er…
AlexKantor87 59799e1
refactor(snapshot s3): hold the new comments to the comment standard
AlexKantor87 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.