mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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:
parent
8cb59d3457
commit
46ba7ed60a
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue