Merge pull request #27752 from nextcloud/backport/27586/stable22

[stable22] Reset checksum when writing files to object store
pull/27814/head
John Molakvoæ 5 years ago committed by GitHub
commit c73070c19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lib/private/Files/ObjectStore/ObjectStoreStorage.php

@ -465,6 +465,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
$stat['mimetype'] = $mimetype;
$stat['etag'] = $this->getETag($path);
$stat['checksum'] = '';
$exists = $this->getCache()->inCache($path);
$uploadPath = $exists ? $path : $path . '.part';

Loading…
Cancel
Save