Merge pull request #27586 from nextcloud/bugfi/noid/objectstore-checksum

Reset checksum when writing files to object store
This commit is contained in:
blizzz 2021-07-01 17:30:54 +02:00 committed by GitHub
commit 62675eb5c2
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';