Merge pull request #39642 from nextcloud/backport/39629/stable27

This commit is contained in:
Julius Härtl 2023-08-03 08:47:22 +02:00 committed by GitHub
commit 6587cf4314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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');
}