12.04 LTS (Precise) libmagic1 not returning ANY mime-type for some Microsoft Office files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am working on some software that will analyze arbitrary files, and determine the mime type using libmagic1 (tied closely with the "file" package).
I have a C program that links with libmagic1, and it calls magic_file() correctly, but for certain files it's returning an empty string for the mime type. It appears to be Microsoft Office documents (such as Word and Excel documents), and the mime type returned is "; charset=binary" instead of something like "application/
This has been fixed in later versions of libmagic1, since I cannot reproduce on 13.04 raring or 13.10 saucy. I've also downloaded and compiled file 5.10 and 5.15 from source (http://
Can we get a fix pushed for 12.04 LTS?
Thanks
lsb_release -rd returns "Ubuntu 12.04.3 LTS" on my test system.
summary: |
- 12.04 LTS (Precise) libmagic1 not returning ANY mime-type for some ms- - excel files + 12.04 LTS (Precise) libmagic1 not returning ANY mime-type for some + Microsoft Office files |
Status changed to 'Confirmed' because the bug affects multiple users.