[kmail2] [Bug 358049] URLs that end in . or ? aren't parsed correctly

kdex via KDE Bugzilla bugzilla_noreply at kde.org
Mon May 23 13:59:59 BST 2016


https://bugs.kde.org/show_bug.cgi?id=358049

--- Comment #4 from kdex <kdex at kdex.de> ---
I don't see a clear benefit from teaching people to misunderstand URLs.
Suggesting that they might not end in a dot will naturally break lots of valid
URLs, and the same goes for question marks (and potentially other tokens that I
haven't checked).

Also, expecting that users will put punctuation symbols after their URLs to end
a sentence is a constructed heuristic; the majority of my sent and received
mails actually contain footnotes such as "[1]", which will be completed with
their URLs at the bottom of the mail, line by line. This format is also very
wide-spread and suffers from KMail's heuristic.

Next, observe that this is not just about usernames that might end in
punctuation. See [1] to agree that a dot at the end of a domain is, too, valid
syntax and should be parsed to reflect that. In the case of usernames or other
dynamic parts in a URL, KMail *will* break websites (like [2], which allows
trailing dots in usernames and thus, in their profile page URLs).

[1]
https://webmasters.stackexchange.com/questions/73934/how-can-urls-have-a-dot-at-the-end-e-g-www-bla-de/73937
[2] https://www.npmjs.com

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



More information about the Kdepim-bugs mailing list