summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2021-07-15 21:13:15 +0200
committerGitHub <noreply@github.com>2021-07-15 21:13:15 +0200
commit4ac36dc474bd78e4c4d22cab0b84f985104584cb (patch)
treeb5e14b6b6820a78968bf7319ffafdb09e3f97d5d /lib
parent1ef71af9c0790bd169c00674f5257349df380117 (diff)
parentc16d5b10775a2f32f54aaf0146171d66560002e7 (diff)
downloadnextcloud-server-4ac36dc474bd78e4c4d22cab0b84f985104584cb.tar.gz
nextcloud-server-4ac36dc474bd78e4c4d22cab0b84f985104584cb.zip
Merge pull request #27753 from nextcloud/backport/27586/stable21
[stable21] Reset checksum when writing files to object store
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/ObjectStoreStorage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
index 5d2cbe61ab6..89628a7763e 100644
--- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php
+++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
@@ -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';