[Bug 1790806] [NEW] file -i command reports "text/x-c" mime type for .srt file (Subtitle / Plain Text file)
Michael Ruge
1790806 at bugs.launchpad.net
Wed Sep 5 08:05:16 UTC 2018
Public bug reported:
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/x-subrip"
In line 8 of the attached file is the word "extern".
therefore, the file is incorrectly identified as c code
** Affects: file (Ubuntu)
Importance: Undecided
Status: New
** Affects: hhvm (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "test_mime.srt.zip"
https://bugs.launchpad.net/bugs/1790806/+attachment/5184798/+files/test_mime.srt.zip
** Also affects: hhvm (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to file in Ubuntu.
https://bugs.launchpad.net/bugs/1790806
Title:
file -i command reports "text/x-c" mime type for .srt file (Subtitle
/ Plain Text file)
Status in file package in Ubuntu:
New
Status in hhvm package in Ubuntu:
New
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/x-subrip"
In line 8 of the attached file is the word "extern".
therefore, the file is incorrectly identified as c code
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file/+bug/1790806/+subscriptions
More information about the foundations-bugs
mailing list