Open Bug 278260 Opened 20 years ago Updated 3 years ago

HTML signatures can add HTML headers in the middle of body (invalid HTML)

Categories

(MailNews Core :: Composition, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: BenB, Unassigned)

Details

I was getting a mail with the following HTML part: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> ... Cheers,<br> Charley<br> <br> <div class="moz-signature"> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title></title> An eye for an eye makes the whole world blind.<br> <i>Mahatma Gandhi</i> </div> <br> <br> This is terribly invalid HTML. <meta> and <title> are only allowed in the <head> section of HTML. I don't know where it comes from, likely that it's in the sender's signature HTML file, but it must be stripped by us.
Summary: HTML sigs can add HTML headers in the middle of body (invalid HTML) → HTML signatures can add HTML headers in the middle of body (invalid HTML)
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: composition
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.