Skip to content

fix(s3): handle repeating delimiters#59597

Open
leftybournes wants to merge 1 commit intomasterfrom
fix/s3_repeating_delimiter
Open

fix(s3): handle repeating delimiters#59597
leftybournes wants to merge 1 commit intomasterfrom
fix/s3_repeating_delimiter

Conversation

@leftybournes
Copy link
Copy Markdown
Member

  • Resolves: #

Summary

Amazon's hosted S3 service allows repeating delimiters in keys (e.g. 'path/to//file.txt' or 'path/to///file.txt') and we get repeating directories in the filecache as a result (based on the previous examples we get 'path/to/to/file.txt' or
'path/to/to/to/file.txt'). This handles it for S3 external storage and ignores the repeated pattern.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Kent Delante <kent@delante.me>

Amazon's hosted S3 service allows repeating delimiters in keys
(e.g. 'path/to//file.txt' or 'path/to///file.txt') and we get
repeating directories in the filecache as a result (based on the
previous examples we get 'path/to/to/file.txt' or
'path/to/to/to/file.txt'). This handles it for S3 external storage and
ignores the repeated pattern.
@leftybournes leftybournes added this to the Nextcloud 34 milestone Apr 13, 2026
@leftybournes leftybournes requested a review from a team as a code owner April 13, 2026 04:19
@leftybournes leftybournes requested review from ArtificialOwl, artonge, icewind1991 and salmart-dev and removed request for a team April 13, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant