fix(s3): add SSE-C parameters to headObject call

Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
This commit is contained in:
Tobias Zimmerer 2023-07-30 22:54:58 +02:00 committed by backportbot-nextcloud[bot]
parent 8cb59d3457
commit 46ba7ed60a

View file

@ -99,7 +99,7 @@ class S3 implements IObjectStore, IObjectStoreMultiPartUpload {
$stat = $this->getConnection()->headObject([
'Bucket' => $this->bucket,
'Key' => $urn,
]);
] + $this->getSSECParameters());
return (int)$stat->get('ContentLength');
}