Closed
Bug 587510
Opened 16 years ago
Closed 15 years ago
Incorrect subject displaying when it comes like '=?KOI8-R?' or '=UTF-8'
Categories
(Thunderbird :: Message Reader UI, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 559000
People
(Reporter: homusv, Unassigned)
References
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8
Build Identifier: Thunderbird/3.0.6 and Thunderbird/3.1.2
Message subject displays incorrectly in message list and in captions (for tabs and main window) when subject comes in message like '=?KOI8-R?...' or '=?UTF-8?...'. In these cases message theme displays in message list and in captions exactly like it comes, e.g., '=?KOI8-R?Q?=F5=D3=D4=D2=C1', etc.
Reproducible: Always
Steps to Reproduce:
1.Receive a mail with message subject format like it is described in bug report detail.
2. Check message subject displaying in different parts of Thunderbird window.
Actual Results:
Message subject displays incorrectly in message list and in message tab and in main window caption.
Expected Results:
Normal message subject displaying.
There is no such problem in Outlook Express and Evolution, bit exists permanently in Thunderbird, SeaMonkey, Opera mail, etc.
Comment 3•16 years ago
|
||
Hello Vadim, could you attach sample of email?
Hello, Nikolay. Messages are in attach. When opening messages from saved file, there are no problems with subject displaying. Bug is only in messages list area and in message window caption.
Comment 5•16 years ago
|
||
Your subject header encoded word contains space which violates RFC2047 section 2.
An 'encoded-word' is defined by the following ABNF grammar. The notation of RFC 822 is used, with the exception that white space characters MUST NOT appear between components of an 'encoded-word'.
encoded-text = 1*<Any printable ASCII character other than "?" or SPACE>
While I cannot say why we showing subject correctly when open message manually and doesn't show it in preview pane.
Nikolay, thanks for explanation. Can I expect that Thunderbird will show such subjects normally in all window areas?
Comment 7•16 years ago
|
||
I forgot ask you if you double click on message and its opens in new tab does subject is correctly shown as for if you open manually EML file?
Maybe some of developers could comment who know part of MIME code, what's difference between preview pane and manual open in new window.
Yes, when message opens in new tab, it's all OK with subject displaying in preview pane, but incorrect subject view moves to tab's caption. When I make forward for the message, subject also becomes normal. But when I replay to the message, subject remains incorrect. It's rather funny - different part of one application process data with different ways and results.
Comment 9•16 years ago
|
||
David, any thoughts why we getting different results when decoding MIME subject in preview pane and opened in new tab?
Comment 10•16 years ago
|
||
I think the reporter is saying that the thread pane and the message window/tab title are wrong, but the message pane is right. It's definitely different code doing the decoding. The db stores the decoded string, which is what the thread pane and message window title use, whereas the message display code decodes on the fly, each time you display the message.
Comment 11•16 years ago
|
||
And the two parts of the code probably have different error handling when faced with incorrectly encoded strings.
Updated•16 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 13•15 years ago
|
||
FYI.
Bug 559000 is report of similar phenomenon with similarily broken header. Opener of Bug 559000 says that thread pane was shown like message pane when he did copy to local mail folder & rebuild-index.
Comment 14•15 years ago
|
||
I think they are both same both reporters have white space in subject which cause of broken subject.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•