Closed Bug 321711 Opened 20 years ago Closed 20 years ago

Messages with empty Content-Type: header aren't correctly displayed

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 155537

People

(Reporter: askwar, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8) Gecko/20051223 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8) Gecko/20051223 Firefox/1.5 After I ran KMail, certain messages in my IMAP storage (like the one which I will attach) aren't displayed correctly anymore. The reason for this is, that a blank Content-Type: header got added. Ie. the following got added: Content-Type: No content. This causes Thunderbird 1.0.6 to malfunction. Tb doesn't display the body anymore. And it shows an "attachment" of name "attachment". I suppose that is so, because the Content-Type: header is invalid. But if that's the case, then Tb is violating RFC 2045: Default RFC 822 messages without a MIME Content-Type header are taken by this protocol to be plain text in the US-ASCII character set, which can be explicitly specified as: Content-type: text/plain; charset=us-ascii This default is assumed if no Content-Type header field is specified. It is also recommend that this default be assumed when a syntactically invalid Content-Type header field is encountered. Note the recommendation in the last sentence. This means, that the message should be displayed as there was a value of "text/plain; charset=us-ascii". Reproducible: Always Steps to Reproduce:
Yes, this is a Core bug: TB and Seamonkey. *** This bug has been marked as a duplicate of 155537 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: