After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 54690 - Bad MIME types in /etc/mime-magic*
Bad MIME types in /etc/mime-magic*
Status: RESOLVED DUPLICATE of bug 55461
Product: gnome-libs
Classification: Deprecated
Component: libgnome
1.2.x
Other Linux
: Normal normal
: 1.4.1
Assigned To: gnome-libs Maintainers
gnome-libs Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-05-15 09:33 UTC by albrecht.dress
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description albrecht.dress 2001-05-15 09:33:21 UTC
The files /etc/mime-magic* contain *lots* of bad entries which break the
usage of gnome_mime_type_of_file() and friends. E.g. the entry

0       string          %PDF-           PDF document

should read (NOT a valid MIME type------^^^^^^^^^^^^)

0       string          %PDF-           application/pdf

We tried to use gnome_mime_type_or_default_of_file() in Balsa to determine
the type of attachments, resulting in "application/(null)" for pdf...

Albrecht.
Comment 1 Kjartan Maraas 2002-01-05 17:44:58 UTC
Is this still the case?
Comment 2 Kjartan Maraas 2002-08-01 13:15:05 UTC
Please respond. Has this been fixed in a later release or maybe 2.0.x?
Comment 3 albrecht.dress 2002-08-04 11:35:54 UTC
Sorry, I still have the old Gnome installation on my LinuxPPC 2000
box...

I checked with SuSE 7.2 on an Intel machine:

* gnome-libs-1.2.13-45.i386.rpm (vanilla 7.2) still contains a few bad
entries, but mostly for some binary stuff which is not likely to be
attached to mails. The "critical" ones (like PDF) seem to be fixed;

* the file gnome-vfs-mime-magic from gnome-mime-data-2.0.0-16.i386.rpm
(SuSE 7.2 Gnome 2 upgrade) looks clean.
Comment 4 Kjartan Maraas 2002-08-04 21:50:06 UTC
Ok. Thanks for the feedback.
Comment 5 Kjartan Maraas 2002-10-06 10:08:39 UTC
I'll ponder just grabbing the mime file from file(1) for the next release.
Comment 6 Kjartan Maraas 2002-10-06 10:10:49 UTC

*** This bug has been marked as a duplicate of 55461 ***