View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000174 | file | General | public | 2020-08-03 12:41 | 2020-08-09 16:43 |
Reporter | petre | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.39 | ||||
Fixed in Version | 5.40 | ||||
Summary | 0000174: CSV files identified as "application/csv" instead of registered "text/csv" | ||||
Description | The new CSV file identification is returning "application/csv". According to RFC 4180, the registered mime type is 'text/csv'. "application/csv" is not registered at all, see https://www.iana.org/assignments/media-types/media-types.xhtml If there is no valid reason to use "application/csv", that I'm not aware of, could this be updated, please? | ||||
Steps To Reproduce | (via python-magic) >>> import magic >>> magic.from_buffer("a,b,c\nd,e,f\ng,h,i\n", mime=True) 'application/csv' | ||||
Additional Information | Relevant code location: https://github.com/file/file/blob/FILE5_39/src/is_csv.c#L153 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-08-03 12:41 | petre | New Issue | |
2020-08-09 16:43 | christos | Assigned To | => christos |
2020-08-09 16:43 | christos | Status | new => assigned |
2020-08-09 16:43 | christos | Status | assigned => resolved |
2020-08-09 16:43 | christos | Resolution | open => fixed |
2020-08-09 16:43 | christos | Fixed in Version | => 5.40 |
2020-08-09 16:43 | christos | Note Added: 0003442 |