[Libreoffice-bugs] [Bug 101317] File saved with wrong mime type
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun May 28 22:18:11 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=101317
--- Comment #7 from Daniel Quinn <libreoffice at danielquinn.org> ---
This is most definitely not a problem with PHP and I don't think it has
anything to do with the order in which the files are compressed.
In Python:
import magic
magic.Magic(mime=True).from_file("test.xlsx")
'application/octet-stream'
Or using `file` on the command line:
$ file --mime-type test.xlsx
test.xlsx: application/octet-stream
This file was created using LibreOffice Calc 5.2.7.2
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170528/c327792f/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list