Reset checksum when writing files to object store

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/27753/head
Julius Härtl 2021-06-21 12:04:49 +07:00 committed by backportbot[bot]
parent 5f3ceeda88
commit c16d5b1077
1 changed files with 1 additions and 0 deletions

@ -466,6 +466,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';