View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000103 | file | General | public | 2019-09-01 04:41 | 2019-09-11 15:20 |
Reporter | stokito | Assigned To | christos | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.37 | ||||
Fixed in Version | 5.38 | ||||
Summary | 0000103: ZStandard incorrect MIME type application/x-zstd | ||||
Description | In the commit "PR/573: Nick Terrell: Add zstd support" https://github.com/file/file/commit/5b8826616cb699b69f7a1cc7b5c0cbac4b5bed9b was added a support for for ZStandard compressed files with "application/x-zstd" MIME type. But latter the official MIME type was assigned without the "x-" i.e. "application/zstd": https://www.iana.org/assignments/media-types/application/zstd https://tools.ietf.org/search/rfc8478 https://github.com/facebook/zstd/issues/767 | ||||
Steps To Reproduce | $ touch test.txt $ zstd test.txt test.txt :1300.00% ( 0 => 13 bytes, test.txt.zst) $ file -i test.txt.zst test.txt.zst: application/x-zstd; charset=binary | ||||
Additional Information | All GUI archievers (Ark, File Roller, Engrampa) internally using the correct "application/zstd" MIME type | ||||
Tags | magic | ||||
|
BTW, only 0xFD2FB528 was standardized so we can remove all previous magic signatures. 0xFD2FB522 Zstandard compressed data (v0.2) 0xFD2FB523 Zstandard compressed data (v0.3) 0xFD2FB524 Zstandard compressed data (v0.4) 0xFD2FB525 Zstandard compressed data (v0.5) 0xFD2FB526 Zstandard compressed data (v0.6) 0xFD2FB527 Zstandard compressed data (v0.7) |
|
Fixed, thanks |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-01 04:41 | stokito | New Issue | |
2019-09-01 04:41 | stokito | Tag Attached: magic | |
2019-09-04 19:46 | stokito | Note Added: 0003287 | |
2019-09-11 15:20 | christos | Assigned To | => christos |
2019-09-11 15:20 | christos | Status | new => assigned |
2019-09-11 15:20 | christos | Status | assigned => resolved |
2019-09-11 15:20 | christos | Resolution | open => fixed |
2019-09-11 15:20 | christos | Fixed in Version | => 5.38 |
2019-09-11 15:20 | christos | Note Added: 0003291 |