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 226e0c4107ddf97ab2acbf6eaae7a358b1f9631d
1 change: 1 addition & 0 deletions lib/private/Files/ObjectStore/ObjectStoreStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,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