file -i command reports "text/x-c" mime type for .srt file (Subtitle / Plain Text file)
Bug #1790806 reported by
Michael Ruge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
hhvm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. Bug is on Ubuntu 14.04.5 LTS and Ubuntu 16.04.5 LTS
2.
file:
Installiert: 1:5.25-2ubuntu1.1
file:
Installiert: 1:5.14-2ubuntu3.4
3.
command: "file -i test_mime.srt"
Actual result: "text/x-c"
Expected result: "text/plain" or "application/
In line 8 of the attached file is the word "extern".
therefore, the file is incorrectly identified as c code
To post a comment you must log in.