Content-Type not reported correctly for JPG named "attachment.tif"
Submitted by Ruben Vermeersch
Assigned to gvf..@..e.bugs
Link to original bug (#623861)
Description
Am getting the following output for the attached file:
display name: attachment.tif edit name: attachment.tif name: attachment.tif type: regular size: 120583 attributes: standard::type: 1 standard::name: attachment.tif standard::display-name: attachment.tif standard::edit-name: attachment.tif standard::copy-name: attachment.tif standard::icon: image-tiff, gnome-mime-image-tiff, image-x-generic standard::content-type: image/tiff standard::fast-content-type: image/tiff standard::size: 120583 standard::allocated-size: 122880 etag::value: 1278369194:574208 id::file: l64771:3757 id::filesystem: l64771 access::can-read: TRUE access::can-write: TRUE access::can-execute: FALSE access::can-delete: TRUE access::can-trash: TRUE access::can-rename: TRUE time::modified: 1278369194 time::modified-usec: 574208 time::access: 1278608980 time::access-usec: 870577 time::changed: 1278608979 time::changed-usec: 705579 unix::device: 64771 unix::inode: 3757 unix::mode: 33204 unix::nlink: 1 unix::uid: 500 unix::gid: 500 unix::rdev: 0 unix::block-size: 4096 unix::blocks: 240 owner::user: ruben owner::user-real: Ruben Vermeersch owner::group: ruben thumbnail::path: /home/ruben/.thumbnails/normal/fdc90503c4cd192a3fd33567e71c9fbf.png selinux::context: unconfined_u:object_r:user_home_t:s0 xattr-sys::security.selinux: unconfined_u:object_r:user_home_t:s0 metadata::icon-scale: 1 metadata::nautilus-icon-position: 64,462 metadata::nautilus-icon-position-timestamp: 1278608980
Whereas:
$ file -ib attachment.tif image/jpeg; charset=binary
This breaks mime-based loading in F-Spot.