diff options
author | Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com> | 2023-07-30 22:54:58 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-07-31 16:36:16 +0000 |
commit | 46ba7ed60aa7d4bcde3ea61e6c142d7a64b8d1dc (patch) | |
tree | 915ad0d43a83c102061e59d31535762109665e6e /lib | |
parent | 8cb59d3457b231c766916d7652deaedc9cf3d9ed (diff) | |
download | nextcloud-server-46ba7ed60aa7d4bcde3ea61e6c142d7a64b8d1dc.tar.gz nextcloud-server-46ba7ed60aa7d4bcde3ea61e6c142d7a64b8d1dc.zip |
fix(s3): add SSE-C parameters to headObject call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/ObjectStore/S3.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/S3.php b/lib/private/Files/ObjectStore/S3.php index 76eee2bc962..9bec1eaf018 100644 --- a/lib/private/Files/ObjectStore/S3.php +++ b/lib/private/Files/ObjectStore/S3.php @@ -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'); } |