[konsole] [Bug 473285] Final stop interpreted as part of URL

Méven bugzilla_noreply at kde.org
Mon Jul 22 20:55:50 BST 2024


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

Méven <meven at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/-/commit/02ba
                   |                            |8cefc763f841e523c7706986025
                   |                            |3599b2dc0

--- Comment #2 from Méven <meven at kde.org> ---
Git commit 02ba8cefc763f841e523c77069860253599b2dc0 by Méven Car, on behalf of
Wendi Gan.
Committed on 22/07/2024 at 12:05.
Pushed by meven into branch 'master'.

url filter: remove trailing non-URL characters

Adjusted UrlFilter::newHotSpot to strip non-URL trailing characters (e.g.,
commas, dots) using regex "[',.:;]+$". This ensures correct URL parsing without
trailing punctuation.

Test case: 'https://example.com.' should exclude the trailing dot.
Related: bug 472274

M  +16   -10   src/filterHotSpots/UrlFilter.cpp

https://invent.kde.org/utilities/konsole/-/commit/02ba8cefc763f841e523c77069860253599b2dc0

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


More information about the konsole-devel mailing list