Closed
Bug 506504
Opened 16 years ago
Closed 14 years ago
Thunderbird/SeaMonkey interprets "whole mail data including From - ..." as HTML when any choice of View/Character Encoding/Auto Detect is clicked (InternalLoad is invoked by touching Auto-Detect setting, and rendering problem occurs upon the InternalLoad)
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 236872
People
(Reporter: World, Unassigned)
References
Details
Attachments
(2 files)
Thunderbird/Seamonkey interprets "whole mail data including From - ..." as HTML when any choice of View/Character Encoding/Auto Detect is clicked.
This wrong display is corrected by "click other mail, then click mail again".
This is spin-off of Bug 505072 Comment #32.
[Build Id]
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2pre) Gecko/20090724 Shredder/3.0b4pre
> Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9.1.2pre) Gecko/20090721 SeaMonkey/2.0b2pre
[Steps to reproduce]
(1) Click any choice of View/Character Encoding/Auto Detect (Off is set in test)
(2) Click a mail => mail is displayed correctly
(3) Click any choice of View/Character Encoding/Auto Detect (Off in test)
(4) Whole mail data including "From ..." line is rendered as HTML source.
| Reporter | ||
Comment 1•16 years ago
|
||
Left window:
Content-Type: text/html; charset=UTF-8
<meta> tag in HTML source
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
HTML source is really encoded in UTF-8
Right window: charset=windows-1252 in <meta> to force garbled display.
Content-Type: text/html; charset=UTF-8
<meta> tag in HTML source
<meta content="text/html;charset=windows-1252" http-equiv="Content-Type">
HTML source is really encoded in UTF-8
| Reporter | ||
Updated•16 years ago
|
Summary: Thunderbird/Seamonkey interprets "whole mail data including From - ..." as HTML when any choice of View/Character Encoding/Auto Detect is clicked → Thunderbird/SeaMonkey interprets "whole mail data including From - ..." as HTML when any choice of View/Character Encoding/Auto Detect is clicked
| Reporter | ||
Comment 2•15 years ago
|
||
If next mail, phenomenon can be observed only by viewing a mail.
Simplest text/html mail
charset in <meta http-equiv> != charset in Content-Type: header
multiple <meta http-equiv for Content-Type with carset> exist in HTML
In this case, double internal load occurs due to bug 528736. So viewing a mail is sufficient to see phenomenon. This "multiple wrong meta/charset in HTML" case is based on real mail which produced problem of bug 572886.
Checked with next trunk build.
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a6pre) Gecko/20100617 Shredder/3.2a1pre
| Reporter | ||
Comment 3•15 years ago
|
||
Phenomenon I wrote in comment #2 with simple text/html mail(and bug 572886 too) can't be observed with html5.enable=false.
To see problem of this bug with html5.enable=false, changing of View Character Encoding/Auto-detect is required.
| Reporter | ||
Comment 4•15 years ago
|
||
NSPR log with DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5.
1. View a mail.
> 00000000 18:24:01.793 [3024] 0[192c140]: DOCSHELL 27dd660 InternalLoad mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd/bug-572886-02?number=3548
> 00000001 18:24:01.918 [3024] 0[192c140]: DOCUMENT 2da9800 created
> 00000002 18:24:01.918 [3024] 0[192c140]: DOCUMENT 2da9800 StartDocumentLoad mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd/bug-572886-02?number=3548
> 00000003 18:24:01.918 [3024] 0[192c140]: DOCUMENT 2da9800 ResetToURI mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd/bug-572886-02?number=3548
> 00000004 18:24:01.918 [3024] 0[192c140]: DOCSHELL 27dd660 SetCurrentURI mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd/bug-572886-02?number=3548
2. At View/Character Encoding/Auto Detect, select "(off)"
> 00000005 18:24:10.637 [3024] 0[192c140]: DOCSHELL 27dd660 InternalLoad mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd/bug-572886-02?number=3548
> 00000006 18:24:10.653 [3024] 0[192c140]: DOCUMENT 4ee0400 created
> 00000007 18:24:10.653 [3024] 0[192c140]: DOCUMENT 4ee0400 StartDocumentLoad mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd/bug-572886-02?number=3548
> 00000008 18:24:10.653 [3024] 0[192c140]: DOCUMENT 4ee0400 ResetToURI mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd/bug-572886-02?number=3548
> 00000009 18:24:10.653 [3024] 0[192c140]: DOCSHELL 27dd660 SetCurrentURI mailbox:///C|/wada/@@@/Mail1/Bug-Test.sbd
/bug-572886-02?number=3548
Summary: Thunderbird/SeaMonkey interprets "whole mail data including From - ..." as HTML when any choice of View/Character Encoding/Auto Detect is clicked → and rendering problem occurs upon the InternalLoad) Thunderbird/SeaMonkey interprets "whole mail data including From - ..." as HTML when any choice of View/Character Encoding/Auto Detect is clicked (InternalLoad is invoked by touching Auto-Detect setting
| Reporter | ||
Comment 6•15 years ago
|
||
Screen shot attached to Bug 236872 looks same. Proabaly dup of the old bug.
Setting dependency.
Depends on: 236872
| Reporter | ||
Comment 7•14 years ago
|
||
After fix of Bug 236872, problem can't be reproduced.
You need to log in
before you can comment on or make changes to this bug.
Description
•