Closed Bug 1681365 Opened 3 years ago Closed 1 year ago

Forwarding / Replying to an email inserts <style><!-- without closing the comment (missing -->)

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1680084

People

(Reporter: schaal, Unassigned)

References

Details

(Keywords: dupeme)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Steps to reproduce:

Just forward or reply to an email that is created by Outlook (for that I've verified it) to somebody with a mailbox on an (Microsoft) Exchange server and let him try to read that mail using Outlook Web App.

Actual results:

Thunderbird (at least on Windows) will throw in the following sequence with the beginning of a comment (<!--) without closing that comment anywhere in the email:

  <style><!--

/* Font Definitions /
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/
Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-language:EN-US;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}</style>

That results in disappearing everything below this section in Outlook Web App (OWA), because the whole rest of the message is interpreted as a HTML comment.

Expected results:

The comment should be closed accordingly. That problem is just introduced with Thunderbird 78.5.0.

Annoying, results in faulty display of forwarded message (body is cut off)

Component: Untriaged → Message Compose Window
Keywords: dupeme
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: CVE-2020-26973
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.