Skip to content

[stable34] fix(s3): trim multiple spaces to single space in original path header#62183

Merged
AndyScherzinger merged 1 commit into
stable34from
backport/61914/stable34
Jul 15, 2026
Merged

[stable34] fix(s3): trim multiple spaces to single space in original path header#62183
AndyScherzinger merged 1 commit into
stable34from
backport/61914/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Jul 15, 2026

Copy link
Copy Markdown

Backport of PR #61914

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

The spec defines that x-amz-meta-original-path header needs spaces to
be trimmed and multiple spaces need to be converted to a single
space. This is to comply with the spec and fix it for some storage
hosts that return a SignatureDoesNotMatch error when not done.
@backportbot
backportbot Bot requested a review from a team as a code owner July 15, 2026 13:20
@backportbot
backportbot Bot requested review from Altahrim, Antreesy, CarlSchwan, icewind1991, leftybournes and salmart-dev and removed request for a team July 15, 2026 13:20
@backportbot backportbot Bot added this to the Nextcloud 34.0.2 milestone Jul 15, 2026

@AndyScherzinger AndyScherzinger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@AndyScherzinger
AndyScherzinger merged commit 7808df5 into stable34 Jul 15, 2026
179 of 186 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/61914/stable34 branch July 15, 2026 21:34
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.

3 participants