From 23f85b5ac22129289761d9325b61f4deff84d34c Mon Sep 17 00:00:00 2001 From: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com> Date: Sun, 30 Jul 2023 22:54:58 +0200 Subject: [PATCH] fix(s3): add SSE-C parameters to headObject call Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com> --- lib/private/Files/ObjectStore/S3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/ObjectStore/S3.php b/lib/private/Files/ObjectStore/S3.php index 2d9119b5fc692..b1cd89388aea6 100644 --- a/lib/private/Files/ObjectStore/S3.php +++ b/lib/private/Files/ObjectStore/S3.php @@ -99,7 +99,7 @@ public function completeMultipartUpload(string $urn, string $uploadId, array $re $stat = $this->getConnection()->headObject([ 'Bucket' => $this->bucket, 'Key' => $urn, - ]); + ] + $this->getSSECParameters()); return (int)$stat->get('ContentLength'); }