https://bugs.documentfoundation.org/show_bug.cgi?id=101317

--- Comment #2 from Dmitrijs <[email protected]> ---
In php I read mime type this way:

$finfo = new finfo(FILEINFO_MIME);
$type = $finfo->file('LibreOffice.xlsx');
var_dump($type);

It does not matter, what browser I use, because finfo read a file not
information sent by browser. And most php framework file validations work this
way. So it is not possible to validate LibreOffice xlsx files, because mime
type always is "application/octet-stream".

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to