Closed Bug 378826 Opened 18 years ago Closed 18 years ago

[mozTXTToHTMLConv] Non-email addresses improperly linkifed as such

Categories

(MailNews Core :: Backend, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 32442

People

(Reporter: humph, Assigned: humph)

Details

Attachments

(1 file)

Plain text of the form 'S@Y...where' is linkified incorrectly. I work at Seneca@York (S@Y for short), and this pattern occurs a lot in our email. Email with concurrent dots (e.g., 'a@b..com'), or with a dot trailing the '@' (e.g., 'a@.b') should not be linkified as is being done now.
Attached patch Attempt at a fix. (deleted) — Splinter Review
You need to ask review by setting the r? flag of the attachment to a suitable reviewer... (The CVS log for the file will likely give you someone)
OS: Windows XP → All
Hardware: PC → All
Attachment #262833 - Flags: review?(ben.bucksch)
Assignee: nobody → david.humphrey
David, thanks for the fix, but scheme-specific tests don't really belong in here (don't mind the basic dot-checking here), the code relies on the generic checks that the nsIURI creation does. Unfortunately, the checks for mailto: are simply absent. Adding them (even far more strict than the patch here) would be highly appreciated. That is bug 32442. Can you fix the bug in that way / code place, please?
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Attachment #262833 - Flags: review?(ben.bucksch) → review-
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: