https://bugs.kde.org/show_bug.cgi?id=466930
Bug ID: 466930 Summary: URL that contains email-like pattern is split into two links Classification: Applications Product: NeoChat Version: unspecified Platform: Compiled Sources OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: fe...@posteo.de Reporter: kw...@redhat.com CC: c...@carlschwan.eu Target Milestone: --- SUMMARY URLs and email addresses in messages are automatically converted to links. When the URL contains a pattern that looks like an email address, instead of creating the intended single link, both parts are converted into links individually. STEPS TO REPRODUCE 1. Write a message that contains a link like https://lore.kernel.org/lkml/CAHk-=wio46vc4t6xxd-sfqjopwfm_u515jm3suzmkgxqtea...@mail.gmail.com/ 2. Observe how the message is displayed, and hover with the mouse over it to see the links OBSERVED RESULT The URL is split in three parts: 1. An https:// URL, displayed as a link, but covering only the first half ("https://lore.kernel.org/lkml/CAHk-=" in the example above) 2. A mailto: link for the email-like pattern ("wio46vc4t6xxd-sfqjopwfm_u515jm3suzmkgxqtea...@mail.gmail.com") 3. The remainder is plain text without a link ("/") EXPECTED RESULT There should be only one clickable link for the full https:// URL that contains the text of all three parts. SOFTWARE/OS VERSIONS NeoChat: git master (commit 39388e20) Operating System: Fedora Linux 37 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 -- You are receiving this mail because: You are watching all bug changes.