FS#24571 - [file] zip archives detected as "application/octet-stream"
Attached to Project:
Arch Linux
Opened by Gábor (Arpione) - Saturday, 04 June 2011, 15:53 GMT
Last edited by Allan McRae (Allan) - Thursday, 14 July 2011, 01:54 GMT
Opened by Gábor (Arpione) - Saturday, 04 June 2011, 15:53 GMT
Last edited by Allan McRae (Allan) - Thursday, 14 July 2011, 01:54 GMT
|
Details
Description:
The "file" program reports any zip archive as "application/octet-stream" instead of "application/zip". Additional info: * Only affects x86_64 * package version(s): file-5.07-3 Steps to reproduce: run "file -i" on any zip file |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 14 July 2011, 01:54 GMT
Reason for closing: Fixed
Additional comments about closing: file-5.07-4 in [testing]
Thursday, 14 July 2011, 01:54 GMT
Reason for closing: Fixed
Additional comments about closing: file-5.07-4 in [testing]
$ pacman -Q file
file 5.07-3
$ file -i /opt/java/src.zip
/opt/java/src.zip: application/octet-stream; charset=binary
http://projects.archlinux.org/svntogit/packages.git/commit/file/trunk?id=e841f3c372ee6fd1491b43e094782f1725da60ab
vs.
http://projects.archlinux.org/svntogit/packages.git/commit/file/trunk?id=40097e40a4e885b629c33fba028c9b88b9677c3d
> file foo.zip
foo.zip: Zip archive data
> file -i foo.zip
foo.zip: application/octet-stream; charset=binary
Maybe the upstream patch applied to fix zip detection was incomplete...