View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000317 | file | General | public | 2022-02-02 11:18 | 2022-02-15 13:57 |
Reporter | ssaschaa | Assigned To | christos | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | MacBook Pro M1 arm64 | OS | MacOS | OS Version | 12.2 Darwin 21.3 |
Product Version | 5.41 | ||||
Summary | 0000317: OOXML mime-type fails with "application/x-decompression-error-gzip-Unknown-compression-format" | ||||
Description | When trying to get the mime-type of e.g. Excel OOXML file at MacOS decompression fails and MimeType "application/x-decompression-error-gzip-Unknown-compression-format" is returned instead of "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet". Tried both: compilation and test as ARM64 and X86_64 binary | ||||
Steps To Reproduce | git clone https://github.com/file/file cd ./file autoreconf -i ./configure make check ./src/file -m ./magic/magic.mgc --mime-type /tmp/Excel_Test.xlsx | ||||
Additional Information | Tried both: compilation and test as ARM64 and X86_64 binary | ||||
Tags | bug, compression | ||||
|
|
|
Tried to reproduce it, but could not: [8:32am] 1761>./file -m ../magic/magic.mgc --mime-type Excel_Test.xlsx Excel_Test.xlsx: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet [8:32am] 1762>uname -a Darwin vpn1-1.astron.com 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:29:10 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T8101 arm64 |
|
Sorry, I forgot to add the CLI switch "-z" for decompression attempts. On Linux I get (as expected): /tmp/Excel_Test.xlsx: text/xml; charset=us-ascii compressed-encoding=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=binary But on MacOS I get: /tmp/Excel_Test.xlsx: application/x-decompression-error-gzip-Unknown-compression-format |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-02-02 11:18 | ssaschaa | New Issue | |
2022-02-02 11:18 | ssaschaa | File Added: Excel_Test.xlsx | |
2022-02-02 11:18 | ssaschaa | Tag Attached: bug | |
2022-02-02 11:18 | ssaschaa | Tag Attached: compression | |
2022-02-15 13:32 | christos | Assigned To | => christos |
2022-02-15 13:32 | christos | Status | new => assigned |
2022-02-15 13:32 | christos | Status | assigned => feedback |
2022-02-15 13:32 | christos | Note Added: 0003699 | |
2022-02-15 13:57 | ssaschaa | Note Added: 0003700 | |
2022-02-15 13:57 | ssaschaa | Status | feedback => assigned |