[Bug 500367] [NEW] Thunderbird sends .doc attachments with wrong mime-type (text/richtext)
Christoph
christoph at webrahmen.ch
Fri Dec 25 16:12:13 UTC 2009
Public bug reported:
Binary package hint: thunderbird
Summary: Thunderbird should eliminate bad entries in the mimeTypes.rdf
file, especially the one that in some cases links .doc files with the
mime-type "text/richtext".
Longer explanation:
Attaching .doc documents (MS word format, can also be saved by OpenOffice.org) causes the (binary) contents of the file to be displayed inline (like body text): plenty of weird characters, hundreds of question marks etc (see below B.).
Primary reason: In (my and other people's) mimeTypes.rdf, there is an
entry that makes TB think that .doc files are of the mime-type
"text/richtext", instead of "application/msword" (see below A.).
"text/richtext" attachments are displayed inline, "application/msword"
attachments not.
Removing the tag <NC:fileExtensions>doc</NC:fileExtensions> and
restarting TB fixes the problem.
This does NOT happen with a fresh profile, because it does not contain
the corrupt entry. But still, users suffering from this problem should
be helped automatically. The GUI does not offer a solution for this, as
far as I know.
A. The corrupt entry from mimeTypes.rdf:
<RDF:Description RDF:about="urn:mimetype:text/richtext"
NC:value="text/richtext"
NC:editable="true"
NC:description="Microsoft Word-Dokument">
<NC:fileExtensions>doc</NC:fileExtensions>
<NC:fileExtensions>rtx</NC:fileExtensions>
<NC:handlerProp RDF:resource="urn:mimetype:handler:text/richtext"/>
</RDF:Description>
B. An extract from a corrupted mail:
ÐÏࡱá����������������;��þÿ �������������������������������þÿÿÿ��������ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿýÿÿÿÿÿÿÿþÿÿÿ��������������� ��� ���
���
��� ������þÿÿÿ���þÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ (...)
ProblemType: Bug
Architecture: i386
Date: Fri Dec 25 15:57:31 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
Package: mozilla-thunderbird (not installed)
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: thunderbird
Uname: Linux 2.6.31-16-generic i686
** Affects: thunderbird (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
Thunderbird sends .doc attachments with wrong mime-type (text/richtext)
https://bugs.launchpad.net/bugs/500367
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to thunderbird in ubuntu.
More information about the Ubuntu-mozillateam-bugs
mailing list