Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Reset checksum when writing files to object store
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr authored and backportbot[bot] committed Jul 1, 2021
commit c16d5b10775a2f32f54aaf0146171d66560002e7
1 change: 1 addition & 0 deletions lib/private/Files/ObjectStore/ObjectStoreStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ public function writeStream(string $path, $stream, int $size = null): int {

$stat['mimetype'] = $mimetype;
$stat['etag'] = $this->getETag($path);
$stat['checksum'] = '';

$exists = $this->getCache()->inCache($path);
$uploadPath = $exists ? $path : $path . '.part';
Expand Down