View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000539 | file | General | public | 2024-07-08 16:07 | 2024-11-10 17:05 |
Reporter | manfredsc | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 5.46 | ||||
Summary | 0000539: New IANA entry for GRIB | ||||
Description | There is now an official entry for GRIB at IANA: https://www.iana.org/assignments/media-types/application/grib Somewhat in contradiction to the existing entry (see 0000404), it was decided to add a single "grib" type and use the parameter "edition" to differentiate between the different GRIB versions: application/grib;edition=1 application/grib;edition=2 Therefore the GRIB entries should probably be changed to: # https://en.wikipedia.org/wiki/GRIB, https://www.iana.org/assignments/media-types/application/grib 0 string GRIB >7 byte =1 Gridded binary (GRIB) version 1 !:mime application/grib;edition=1 !:ext grb/grib >7 byte =2 Gridded binary (GRIB) version 2 !:mime application/grib;edition=2 !:ext grb2/grib2 As this mime entry is very fresh, there will be "application/x-grib" and "application/x-grib2" mime types floating around for a long time. But putting it straight now is probably the right decision. | ||||
Tags | No tags attached. | ||||
|
Hmm, I just tried it by patching /etc/magic, parameters seem not to be supported. So I guess mime should simply be !:mime application/grib for both cases. |
|
And versions are called editions for GRIB, so one could add the string accordingly: # https://en.wikipedia.org/wiki/GRIB, https://www.iana.org/assignments/media-types/application/grib 0 string GRIB >7 byte =1 Gridded binary (GRIB) Edition 1 !:mime application/grib !:ext grb/grib >7 byte =2 Gridded binary (GRIB) Edition 2 !:mime application/grib !:ext grb2/grib2 |
|
Amended, thanks |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-07-08 16:07 | manfredsc | New Issue | |
2024-07-08 22:00 | manfredsc | Note Added: 0004062 | |
2024-07-08 22:05 | manfredsc | Note Added: 0004063 | |
2024-11-10 17:05 | christos | Assigned To | => christos |
2024-11-10 17:05 | christos | Status | new => assigned |
2024-11-10 17:05 | christos | Status | assigned => resolved |
2024-11-10 17:05 | christos | Resolution | open => fixed |
2024-11-10 17:05 | christos | Fixed in Version | => 5.46 |
2024-11-10 17:05 | christos | Note Added: 0004099 |