Closed
Bug 150983
Opened 22 years ago
Closed 21 years ago
RTF wrong mime type : attachments sent as text/plain
Categories
(MailNews Core :: Attachments, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: david.morel, Assigned: mscott)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020610 BuildID: 2002061009 rtf attachments are sent with wrong mime type and displayed as text in message body. see copy of sample mail below. Attachment can still be "saved as..." but it shouldn't display in message body (imho) Reproducible: Always Steps to Reproduce: compose mail, attach rtf file, send. Open the received message, and see ! Subject: essai Content-Type: multipart/mixed; boundary="------------080708080207070000020804" This is a multi-part message in MIME format. --------------080708080207070000020804 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit --------------080708080207070000020804 Content-Type: text/plain; name="cv.rtf" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cv.rtf" {\rtf1\ansi\deff0\adeflang1025 {\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman{\*\falt Thorndale};}{\f1\froman\fprq2\fcharset0 Times New Roman{\*\falt Thorndale};}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\fswiss\fprq2\fcharset0 Arial{\*\falt Albany};}{\f4\froman\fprq2\fcharset2 Symbol;}{\f5\fnil\fprq2\fcharset0 HG Mincho Light J;}{\f6\froman\fprq2\fcharset0 Times New Roman;}{\f7\fnil\fprq2\fcharset0 Arial Unicode MS;}} {\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red128\green128\blue128;} {\stylesheet{\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af6\afs22\langfe255\loch\f2\fs22\snext1 Default;} {\s2\sb240\sa etc. etc. etc. more junk etc.
Comment 1•22 years ago
|
||
Mozilla version: 0.9.2.1 System: Linux Same problem also occurs with PDF files, as well as RTF. Mozilla really needs to mark such files with the correct MIME type instead of just "text/plain". It is also worth noting that some other mail clients *cannot* open RTF and PDF files sent by Mozilla for this reason (Netscape 4 on Mac for example). Steps to reproduce: Compose message, attach PDF file, send. Open in any mail client. Start of sample PDF message below: --------------- ... Content-Type: multipart/mixed; boundary="------------050703040807010006010204" This is a multi-part message in MIME format. --------------050703040807010006010204 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Message body here... --------------050703040807010006010204 Content-Type: text/plain; name="Sample_PDF.pdf" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="Sample_PDF.pdf" JVBERi0xLjINCiXi48/TDQo0IDAgb2JqDQo8PA0KL1R5cGUgL1BhZ2UNCi9QYXJlbnQgMiAw IFINCi9Db250ZW50cyAxMSAwIFINCi9NZWRpYUJveCBbMCAwIDU5NiA4NDJdDQovUmVzb3Vy Y2VzIDw8DQovUHJvY1NldCBbL1BERiAvVGV4dF0NCi9Gb250IDw8IC9GMTIgMTIgMCBSID4+ DQo+Pg0KL1RodW1iIDEwIDAgUg0KPj4NCmVuZG9iag0KMTEgMCBvYmoNCjw8DQovRmlsdGVy IFsvTFpXRGVjb2RlIF0NCi9MZW5ndGggMTk4MDQNCj4+DQpzdHJlYW0NCoAMRcMIJBBAMIHB RhB4TBRBAoVC4RCoZFDGbQaCoQMRlDBjEoGORAcjPGSEVIyNxuLhkNRlIhuNZWMxgMxoICoR IyLyNHIeOIbCyoZoyKCSUyeTCCVCKRBAQyQSSYRCkRSckimICgKSoaoyMhlQBoMBqNYrDpzR SDVScVCmkhAQSnSCGSaWSSeTq5XgULRyMxcM4/IhaMoENRzY5xOgUKCiVSLVinSidTiSTiGL ... ----------------- This bug may be a duplicate of 93991 ("Some binary attachments receive text/plain mime type")
Updated•22 years ago
|
QA Contact: trix → yulian
QA Contact: yulian → stephend
Comment 2•21 years ago
|
||
Reporter: Does this problem still occour with a current Mozilla build (also see Bug 93991)?
Comment 3•21 years ago
|
||
no response-->resolving wfm
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Product: MailNews → Core
Comment 4•18 years ago
|
||
Frank Wein asks: "Does this problem still occour with a current Mozilla build (also see Bug 93991)?" Yes, it still occurs in Thunderbird 1.5. RTF attachments received from Eudora are displayed inline
Comment 5•18 years ago
|
||
Ok, but this bug here is about sending RTF as the Summary already says (and not about receiving&displaying).
Comment 6•18 years ago
|
||
(In reply to comment #4) > Frank Wein asks: "Does this problem still occour with a current Mozilla build > (also see Bug 93991)?" > > Yes, it still occurs in Thunderbird 1.5. RTF attachments received from Eudora > are displayed inline I asked Gyula to send me a copy of a message like that, which he did; in that message, the RTF part was given a MIME type of text/plain, so when TB displays that as RTF source, it's doing exactly what's demanded by the spec. That message generated by: X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) I doubt Eudora is doing this all the time; I suspect the original sender's system might be configured (somehow, somewhere) to have .RTF associated with text/plain.
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•