Open Bug 229736 Opened 21 years ago Updated 2 years ago

Linkify URLs in text/enriched and text/richtext mail messages

Categories

(MailNews Core :: Backend, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: aspam, Unassigned)

References

Details

Attachments

(1 file)

894 bytes, message/rfc822
Details
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/106.2 (KHTML, like Gecko) Safari/100.1
Build Identifier: 

Apple's popular Mail application sends Rich Text messages that allow basic fonts, colors and 
formatting but not proper HTML.  Mozilla seems to support it pretty well but it doesn't make URLs 
clickable.  The text/enriched markup doesn't specify URLs, so Mozilla should activate its automatic 
URL detection and make those URLs clickable just as it does in text/plain messages.

Mail is good and getting better so this format will become reasonably popular.  For what it's worth, 
Outlook doesn't highlight Apple's URLs in this format either.  It should be easy enough to fix 
though….

Reproducible: Always

Steps to Reproduce:
confirming.

You'd need to let mozTXTToHTMLConv::ScanTXT() run over the text portions of
richtext, in mimetric.cpp, the same way that mimetpla.cpp and mimetpfl.cpp do
for plaintext and format=flowed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
It's similar to bug 39042 (filed for the browser), but that is for text/plain files.
Bug 39042 is unrelated apart form the fact that it should also use
mozTXTToHTMLConv::ScanTXT(). Mailnews already does, for plaintext and
format=flowed, and this bug adds text/enriched and text/richtext.
OS: Windows XP → All
Hardware: PC → All
Summary: Mozilla doesn't highlight URLs in text/enriched messages. → Link URLs in text/enriched and text/richtext mail messages
Attached file test-case
Attachment #138179 - Attachment mime type: text/plain → message/rfc822
Actually, you should probably exclude the "struct phrases" recognition, because
enriched can encode that.
(I'm a bit surprised that enriched can't encode URLs, in which case this bug
would probably be wontfix, but I didn't see it in the spec.)
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Severity: minor → enhancement
Component: MailNews: Main Mail Window → MailNews: Backend
Product: Mozilla Application Suite → Core
Summary: Link URLs in text/enriched and text/richtext mail messages → Linkify URLs in text/enriched and text/richtext mail messages
*** Bug 315818 has been marked as a duplicate of this bug. ***
Assignee: mail → nobody
QA Contact: esther → backend
Product: Core → MailNews Core
See Also: → 920560
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: