OS: Fedora 38
OnlyOffice: 7.4.0.163 flatpak and RPM Version
Reproduction:
- Start OnlyOffice
- Create Empty Document
- Save Empty Document
- Close OnlyOffice
- Open Terminal
- file Document1.docx
Dokument1.docx: Microsoft Word 2007+ - file --mime-type Document1.docx
Dokument1.docx: application/vnd.openxmlformats-officedocument.wordprocessingml.document - Open the previous Document with OnlyOffice
- Type in some Text (Hello World!)
- Save Document
11 close OnlyOffice - file Document1.docx
Dokument1.docx: Zip archive data, at least v2.0 to extract, compression method=store - file --mime-type Document1.docx
Dokument1.docx: application/zip
Why does OnlyOffice change the mimetype of the document to something wrong when you start adding content to the document? Which Mimetype is the correct mimetype for docx?