Closed Bug 70124 Opened 25 years ago Closed 25 years ago

Does not decode 8-bit "Q" MIME encoded-words

Categories

(MailNews Core :: MIME, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: dev+mozilla, Assigned: bugzilla)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.8) Gecko/20010217 BuildID: 2001021720 When I try to display this message (by selecting it), it does not display. An exception is thrown: Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIMessage.mime2DecodedSubject]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://messenger/conetent/commandglue.js :: LoadMessageByUri :: line 87" data: no] Source File: Line: 7 Column: 0 (Oh my ... how do I use copy + paste in the JavaScript console?) Opening the message in a new window by double-clicking it works fine and does not throw an exception. Reproducible: Always Steps to Reproduce: Open the message by selecting it. Actual Results: Neither sender nor subject nor message body are displayed. The error message appears in the JavaScript console. Expected Results: No error, and everything just displays fine.
Only the date and the size of the message get displayed. The rest is blank. Not even the header envelope is displayed.
Could it be that the sender, subject, and message body fields are prefaced with iso-8859-1? That's what it shows in the message source you attached. Marina - could this be an int'l problem?
I can reproduce the problem with the blank header and sender's field though it doesn't throw an exception. This is Eudora mail, could it be possible that it is Eudora/Nscp6 compatibility? cc to ji and nhotta
The headers indicate 'Q' encode but they are not encoded, raw 8 bits are used instead. From: =?iso-8859-1?Q?Spexkommittén?= <a6lenwes@ulmo.stud.slu.se> Subject: =?iso-8859-1?Q?Åk_på_turné_med_spexet?= Is this a regression from NS6.0? Adding jgmyers@netscape.com to cc.
The current code determines it is not a syntactically legal MIME encoded-word, so copies it verbatim. This is as intended.
The following header indicates that this corruption may have been caused by the Sendmail 8.8.8 running on mail1.slu.se. Then again, Sendmail have only converted the body, leaving the header alone. X-MIME-Autoconverted: from quoted-printable to 8bit by mail1.slu.se id MAA27935
Summary: Displaying this mail throws an exception → Does not decode 8-bit "Q" MIME encoded-words
I talked with Eric Allman at the IETF. He says that Sendmail never did this kind of conversion. It must be a local hack by slu.se. I suggest closing WONTFIX.
Attachment #26163 - Attachment mime type: text/plain → message/rfc822
Attachment #26163 - Attachment mime type: message/rfc822 → text/plain
Per JGM comment, Won't fix.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
verified.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: