View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000448 | file | General | public | 2023-05-13 10:32 | 2023-05-18 13:29 |
Reporter | Albrecht | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | Debian | OS Version | Bookworm |
Product Version | 5.44 | ||||
Fixed in Version | 5.45 | ||||
Summary | 0000448: invalid MIME type for broken input | ||||
Description | Running file v. 5.44 for detecting the MIME type of the broken executable file as of issue 211 (https://bugs.astron.com/file_download.php?file_id=187&type=bug) returns $ file --mime-type -b ./file-error-sample application/x-executable, can't read section at -1 Note that the returned value is not a valid MIME type according to RFC 6838, Sect. 4.2. Whilst it would not be complicated to remove the broken extra output (starting at the “,”), this unnecessarily complicates any software parsing the output of file. Thus, the extra informational message should be present only when file shall produce human-readable output. When running file with the option --mime-type, the output should always comply with RFC 6838. | ||||
Steps To Reproduce | see above | ||||
Additional Information | - | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-13 10:32 | Albrecht | New Issue | |
2023-05-18 13:28 | christos | Assigned To | => christos |
2023-05-18 13:28 | christos | Status | new => assigned |
2023-05-18 13:29 | christos | Status | assigned => resolved |
2023-05-18 13:29 | christos | Resolution | open => fixed |
2023-05-18 13:29 | christos | Fixed in Version | => 5.45 |
2023-05-18 13:29 | christos | Note Added: 0003925 |