nextcloud/lib/private/Files/ObjectStore
John Molakvoæ (skjnldsv) c26b1e4b07 fix(s3): add Content-MD5 header for DeleteObjects to fix AWS SDK v3.339.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: https://github.com/aws/aws-sdk-php/issues/3068
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2026-05-12 09:07:20 +02:00
..
AppdataPreviewObjectStoreStorage.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Azure.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
HomeObjectStoreStorage.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
InvalidObjectStoreConfigurationException.php feat: allow object store configuration aliases for easier migrations 2025-08-14 13:06:51 +02:00
Mapper.php fix: Allow num_buckets to be equal as min_bucket 2026-04-19 18:28:12 +02:00
ObjectStoreScanner.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
ObjectStoreStorage.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
PrimaryObjectStoreConfig.php perf(preview): Optimize migration and simplify DB layout 2025-10-06 13:37:15 +02:00
S3.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
S3ConfigTrait.php feat(objectstore): add configurable S3 retry attempts 2025-11-19 16:17:43 +01:00
S3ConnectionTrait.php fix(s3): add Content-MD5 header for DeleteObjects to fix AWS SDK v3.339.0+ compatibility 2026-05-12 09:07:20 +02:00
S3ObjectTrait.php refactor: use strict operator 2026-04-30 00:51:29 +02:00
S3Signature.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
StorageObjectStore.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Swift.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
SwiftFactory.php refactor: Apply second batch of comments 2026-02-06 13:52:51 +01:00
SwiftV2CachingAuthService.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00