fix(s3): prevent "0" path from being treated as root#58615
Open
joshtrichards wants to merge 4 commits intomasterfrom
Open
fix(s3): prevent "0" path from being treated as root#58615joshtrichards wants to merge 4 commits intomasterfrom
joshtrichards wants to merge 4 commits intomasterfrom
Conversation
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Member
Author
|
/backport to stable33 |
Member
Author
|
/backport to stable32 |
susnux
approved these changes
Feb 27, 2026
8 tasks
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Member
Author
|
Well, our side is fixed, but it turned up a similar problem in the AWS SDK: PR pending upstream: aws/aws-sdk-php#3253 IMO shouldn't block this PR since we were already worse off before. I guess we may want to consider a temporary patch in our nextcloud/3rdparty repo since not sure (a) how long upstream will take (b) not sure how long until all of our supported majors are bumped to next SDK |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Prevented folders from being created called
0(silently failed in the Web client; returning 405 on the backend)No more falsy ambiguity with
0named folder.Note: Only real changes are in line 69 and 133
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)