A trailing dash/hyphen of an URL in an e-mail not "hyperlinked"
Categories
(SeaMonkey :: MailNews: General, defect)
Tracking
(Not tracked)
People
(Reporter: ant, Unassigned)
References
Details
User Story
e) Relevant RFC might be RFC 2396, RFC1034, 3.5, RFC 1738, sec 5 Still unclear: --------------- a) Same reason and roots for view effect in plain text email and message coding issue in html-email?
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 7•6 years ago
|
||
I can confirm this issue in Thunderbird 60.7.0. Also, URLs ending with a hypen are used in practice, e.g. by Youtube as part of their video id (https://www.youtube.com/?v=[video-id]
).
According to RFC 3986 (see page 49), hypens are unreserved characters and therefore might appear in the query part of an URL. Hence Thunderbird does not handle URLs correctly here.
From RFC 3986:
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
query = *( pchar / "/" / "?" )
pct-encoded = "%" HEXDIG HEXDIG
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
Still an issue in thunderbird-78.8.0. Zoom generates these types of links as well, this bug is quite annoying.
This bug is still present in version "102.3.1 (64-bit)". I get emails from confused users from time to time that the links don't work.
I think I have found out where the problem is: The hyphen is not considered part of the URL if the hyphen is followed by a newline. This may be behaving this way because TB is having trouble separating the newline from the recognition of the URI at that point.
The IETF (RFC 3986) talks about removing whitespaces from user-entered URIs for robustness. Perhaps this will fix the problem.
As a workaround, URLs can be provided with the angle brackets so that no whitespace appears after the hyphens (as Ant described in comment #0). Nevertheless, I see the need to fix this bug, as you can't expect innocent users to apply this workaround.
Description
•