http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5780





------- Additional Comments From [EMAIL PROTECTED]  2008-01-17 13:14 -------
Do we have a good reason for parsing as URIs text that Thunderbird and Outlook
Express do not hot link? Mozilla's code for that is in
http://lxr.mozilla.org/mozilla/source/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp
A good place to start understanding it might be the functions ShouldLinkify and
 mozTXTToHTMLConv::CheckURLAndCreateHTML

Looking at the Mozilla code and trying things out in Outlook Express 6, I find
the following strings being linkified by both:

[EMAIL PROTECTED]
www.anything
ftp.anything
http://anything
https://anything
ftp://anything
gopher://anything
news:anything
mailto:anything
nntp://anything

The following are linkified by OE but not by Thunderbird:

[EMAIL PROTECTED]
gopher.anything

The following are linkified by Thunderbird but not by OE

http:anything
ftp:anything
https:anything
gopher:anything
nntp:anything

I think we can ignore gopher, news, and nntp links. And I think that what we are
doing now is fine when there is an explicit protocol, e.g. http:// or http: as a
prefix to the string. I propose that when there is no protocol we only treat a
string as a URI if it begins with 'www.' or 'ftp.'.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to