Skip to content

[stable32] fix(s3): Add Content-MD5 header for DeleteObjects to fix AWS SDK v3.339.0+ compatibility - #60321

Merged
skjnldsv merged 2 commits into
stable32from
backport/60195/stable32
May 15, 2026
Merged

[stable32] fix(s3): Add Content-MD5 header for DeleteObjects to fix AWS SDK v3.339.0+ compatibility#60321
skjnldsv merged 2 commits into
stable32from
backport/60195/stable32

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #60195

skjnldsvand others added 2 commits May 12, 2026 09:36
…39.0+ compatibility
AWS SDK PHP v3.339.0+ introduced a breaking change requiring the Content-MD5
header for DeleteObjects operations. This causes 'MissingContentMD5' errors when
using S3-compatible services like MinIO.
Add middleware to automatically calculate and inject the Content-MD5 header on
all DeleteObjects requests. This is applied universally at the S3ConnectionTrait
level, fixing both external storage (AmazonS3) and core ObjectStore (S3) classes.
Fixes: aws/aws-sdk-php#3068
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@skjnldsv
skjnldsv enabled auto-merge May 12, 2026 09:37
@skjnldsv
skjnldsv disabled auto-merge May 15, 2026 14:26
@skjnldsv
skjnldsv merged commit 89f8253 into stable32May 15, 2026
192 of 199 checks passed
@skjnldsv
skjnldsv deleted the backport/60195/stable32 branch May 15, 2026 14:26
@nextcloud-botnextcloud-bot mentioned this pull request May 19, 2026
Sign up for freeto 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.

2 participants

@artonge@skjnldsv