diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-04-14 16:20:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 16:20:44 +0200 |
commit | 140c2541edffe136f0bbf1fba74b8bbbaecc7e02 (patch) | |
tree | 7c20b8ca80859429064d1124a07b1a70cfb0ca36 /apps | |
parent | d4341a278e84f4da3cb65f399b8dc4ffcc5731ca (diff) | |
parent | bb173e092b3c09ebe443dc02dc2cd4bd224c1b78 (diff) | |
download | nextcloud-server-140c2541edffe136f0bbf1fba74b8bbbaecc7e02.tar.gz nextcloud-server-140c2541edffe136f0bbf1fba74b8bbbaecc7e02.zip |
Merge pull request #37611 from ZE3kr/patch-1
Unquote S3 ETag stored in oc_filecache
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/AmazonS3.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index 6845d1f69c2..5b92c9a4105 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php @@ -724,7 +724,7 @@ class AmazonS3 extends \OC\Files\Storage\Common { 'mimetype' => $this->mimeDetector->detectPath($object['Key']), 'mtime' => strtotime($object['LastModified']), 'storage_mtime' => strtotime($object['LastModified']), - 'etag' => $object['ETag'], + 'etag' => trim($object['ETag'], '"'), 'permissions' => Constants::PERMISSION_ALL - Constants::PERMISSION_CREATE, 'size' => (int)($object['Size'] ?? $object['ContentLength']), ]; |