Project:MimeDetect
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

MimeDetect 6.x-1.2 returns "application/octet-stream" for a .gz archive. It would be great to have this type supported.

I attach an example. On my system, the command file --brief --mime loremIpsum.txt.gz returns application/x-gzip; charset=binary.

AttachmentSize
loremIpsum.txt.gz439 bytes

Comments

#1

I didn't precise that my system is Ubuntu 9.10.

#2

+1
Uploading gzip file returns the following error:
The selected file GZip.gz could not be uploaded. The file contents (application/x-gzip) do not match its extension (gz).

The selected file gziplinux.gzip could not be uploaded. The file contents (application/x-gzip) do not match its extension (gzip).

Thank you.

#3

AttachmentSize
GZip.gz 265 bytes
nobody click here