View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000565 | file | General | public | 2024-09-30 14:30 | 2025-11-24 09:05 |
| Reporter | jonsoft | Assigned To | christos | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | feedback | Resolution | open | ||
| Summary | 0000565: docx file content type is detected as application/octet-stream | ||||
| Description | Similar to 0000517, the attached file identifies as: testWordDocument.docx: Microsoft OOXML or with --mime-type: testWordDocument.docx: application/octet-stream instead of a more specific Word document type. | ||||
| Steps To Reproduce | Check out latest master branch of file. Run: file testWordDocument.docx file --mime-type testWordDocument.docx | ||||
| Additional Information | The underlying issue appears to relate to the order of entries in the zip file. | ||||
| Tags | No tags attached. | ||||
|
|
|
|
|
That is correct, it is related to the order of the zip entries. What program created this file? |
|
|
The attached file was 1. created with LibreOffice 25.8 and saved as a Word 2010-365 Document (.docx). file --mime test.docx correctly outputs application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=binary 2. opened with Microsoft Word for Mac 16.100.4 and saved as a Word 2010-365 Document (.docx). file --mime test.docx correctly outputs application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=binary 3. opened with LibreOffice 25.8 and saved as a Word 2010-365 Document (.docx). file --mime test.docx wrongly outputs application/octet-stream; charset=binary |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-09-30 14:30 | jonsoft | New Issue | |
| 2024-09-30 14:30 | jonsoft | File Added: testWordDocument.docx | |
| 2024-11-10 14:50 | christos | Assigned To | => christos |
| 2024-11-10 14:50 | christos | Status | new => assigned |
| 2024-11-10 14:50 | christos | Status | assigned => feedback |
| 2024-11-10 14:50 | christos | Note Added: 0004095 | |
| 2025-11-24 09:05 | GFF-DS | Note Added: 0004318 | |
| 2025-11-24 09:05 | GFF-DS | File Added: test.docx |