mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Reverting 249190c89b. Fixed in master
This commit is contained in:
parent
249190c89b
commit
db7542b640
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ class OC_Helper {
|
|||
pclose($fp);
|
||||
|
||||
//trim the character set from the end of the response
|
||||
$mimeType=substr($reply,0,strrpos($reply,';'));
|
||||
$mimeType=substr($reply,0,strrpos($reply,' '));
|
||||
}
|
||||
if ($mimeType=='application/octet-stream') {
|
||||
// Fallback solution: (try to guess the type by the file extension
|
||||
|
|
|
|||
Loading…
Reference in a new issue