Closed
Bug 220736
Opened 21 years ago
Closed 21 years ago
Mozilla linkifies invalid email addresses
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
People
(Reporter: mozilla, Assigned: sspitzer)
Details
Mozilla will linkify sometext:someothertext@foo.com even though colons are
prohibited in email addresses by RFC 2822. The code that linkifies email
addresses should check that there is a continuous string of atext characters
(defined in RFC 2822) followed by an @ sign with more text after that.
See bug 97835 for related info.
Reporter | ||
Comment 1•21 years ago
|
||
I am guessing (not knowing much about C) that the problem lies in the fact that
the colon is left out of the prohibited characters listed in
mozTXTToHTMLConv::FindURLStart and mozTXTToHTMLConv::FindURLEnd. I will update
those prohibited characters on my local tree and see if that doesn't fix the
problem. If so, I will attach a patch here.
Comment 2•21 years ago
|
||
> guessing ... the colon is left out of the prohibited characters
Colons are definitely allowed in URLs.
> Mozilla will linkify sometext:someothertext@foo.com even though colons are
> prohibited in email addresses by RFC 2822.
Knowing what is allowed in email addresses is the job of the mailto URL parser
in Necko, not the linkifier code. I thus think that this is a dup of the bug to
improve the mailto parser.
*** This bug has been marked as a duplicate of 32442 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•