nextcloud/tests/lib/Files/ObjectStore
John Molakvoæ (skjnldsv) 4394d4622e 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:36:22 +00:00
..
AzureTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
FailDeleteObjectStore.php chore: run rector 2025-07-01 22:45:52 +02:00
FailWriteObjectStore.php chore: run rector 2025-07-01 22:45:52 +02:00
LocalTest.php chore: run rector 2025-07-01 22:45:52 +02:00
MapperTest.php fix: make bucket mapper work with new multi-object-store config 2025-08-28 17:51:25 +02:00
ObjectStoreScannerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ObjectStoreStorageOverwrite.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
ObjectStoreStoragesDifferentBucketTest.php chore: run rector 2025-07-01 22:45:52 +02:00
ObjectStoreStoragesSameBucketTest.php chore: run rector 2025-07-01 22:45:52 +02:00
ObjectStoreStorageTest.php fix: make objectstore copy consistent with changed local storage behavior 2026-03-10 18:17:20 +01:00
ObjectStoreTestCase.php chore: run rector 2025-07-01 22:45:52 +02:00
PrimaryObjectStoreConfigTest.php fix: ensure all object store configuration have distict bucket names 2025-09-08 13:23:47 +00:00
S3ContentMd5MiddlewareTest.php fix(s3): add Content-MD5 header for DeleteObjects to fix AWS SDK v3.339.0+ compatibility 2026-05-12 09:36:22 +00:00
S3Test.php chore: run rector 2025-07-01 22:45:52 +02:00
SwiftTest.php chore: run rector 2025-07-01 22:45:52 +02:00