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

[stable22] Reset checksum when writing files to object store
This commit is contained in:
John Molakvoæ 2021-07-05 17:27:07 +02:00 committed by GitHub
commit c73070c19d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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';