mirror of
https://github.com/nextcloud/server.git
synced 2026-05-16 18:40:06 -04:00
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> |
||
|---|---|---|
| .. | ||
| AzureTest.php | ||
| FailDeleteObjectStore.php | ||
| FailWriteObjectStore.php | ||
| LocalTest.php | ||
| MapperTest.php | ||
| ObjectStoreScannerTest.php | ||
| ObjectStoreStorageOverwrite.php | ||
| ObjectStoreStoragesDifferentBucketTest.php | ||
| ObjectStoreStoragesSameBucketTest.php | ||
| ObjectStoreStorageTest.php | ||
| ObjectStoreTestCase.php | ||
| PrimaryObjectStoreConfigTest.php | ||
| S3ContentMd5MiddlewareTest.php | ||
| S3SSEKMSTest.php | ||
| S3Test.php | ||
| SwiftTest.php | ||