nextcloud/tests/lib/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
..
AzureTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
FailDeleteObjectStore.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
FailWriteObjectStore.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
LocalTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
MapperTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
ObjectStoreScannerTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
ObjectStoreStorageOverwrite.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
ObjectStoreStoragesDifferentBucketTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
ObjectStoreStoragesSameBucketTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
ObjectStoreStorageTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
ObjectStoreTestCase.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
PrimaryObjectStoreConfigTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
S3ContentMd5MiddlewareTest.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
S3SSEKMSTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
S3Test.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00
SwiftTest.php chore: add missing Override attribute to test files 2026-04-28 21:29:28 +02:00