Skip to content

Commit

Permalink
#26655 eventual mimetype error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IljaN authored and Vincent Petry committed Mar 9, 2017
1 parent b985261 commit 4dd7a11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/private/Files/Storage/Wrapper/Checksum.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,14 @@ public function getMetaData($path) {
$parentMetaData['checksum'] = rtrim($checksumString);

// Need to investigate more


if (!isset($parentMetaData['mimetype'])) {
$parentMetaData['mimetype'] = '';
$parentMetaData['mimetype'] = 'application/octet-stream';
}



return $parentMetaData;
}
}

0 comments on commit 4dd7a11

Please sign in to comment.