Browse Source

return default mimetype for unknown extensions

pull/6482/head
fabrixxm 3 years ago
committed by Hypolite Petovan
parent
commit
c3c0332536
  1. 3
      src/Util/Mimetype.php

3
src/Util/Mimetype.php

@ -1077,8 +1077,7 @@ class Mimetype
if (array_key_exists($ext, $mime_types)) {
return $mime_types[$ext];
}
} else {
return 'application/octet-stream';
}
return 'application/octet-stream';
}
}
Loading…
Cancel
Save