Merge pull request #27753 from nextcloud/backport/27586/stable21

[stable21] Reset checksum when writing files to object store
This commit is contained in:
MichaIng 2021-07-15 21:13:15 +02:00 committed by GitHub
commit 4ac36dc474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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