[Libreoffice-bugs] [Bug 91192] AutoCorrect: Writer not recognizing a URL's trailing carat, hash mark, question mark, backslash, or pipe

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 1 11:59:27 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=91192

--- Comment #14 from Guilhem Moulin <guilhem at fripost.org> ---
(In reply to Heiko Tietze from comment #13)
> With the pipe breaking the hyperlink it is clearly a bug to me.

I tend to disagree, any compliant URL-parser would stop there as well.

> Not sure if all the other characters are proper URLs, but why should LibreOffice guard the web? Would take everything until the next white space (all kind of spaces, tab, cr) into the URL.

How about URLs enclosed in parentheses, square/angle brackets, or even pipes? 
Formatted URLs shouldn't include the markers.  How about punctuation following
a URL?  Makes sense to greedily parse URLs following RFC3986/3987 and stick to
this IMHO.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210201/2c6da75c/attachment.htm>


More information about the Libreoffice-bugs mailing list