mirror of
https://github.com/nextcloud/server.git
synced 2026-02-28 04:20:37 -05:00
Merge pull request #37611 from ZE3kr/patch-1
Unquote S3 ETag stored in oc_filecache
This commit is contained in:
commit
140c2541ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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']),
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue