[konsole] [Bug 458996] URL parsing broken when URLs are wrapped in single-quotes

Kurt Hindenburg bugzilla_noreply at kde.org
Tue Nov 8 18:57:19 GMT 2022


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

Kurt Hindenburg <khindenburg at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/commit/f063ad
                   |                            |e55b491ef7d6fe6cb87d81adaed
                   |                            |00ca041

--- Comment #3 from Kurt Hindenburg <khindenburg at kde.org> ---
Git commit f063ade55b491ef7d6fe6cb87d81adaed00ca041 by Kurt Hindenburg, on
behalf of Luis Javier Merino MorĂ¡n.
Committed on 08/11/2022 at 18:52.
Pushed by hindenburg into branch 'master'.

url filter: remove ending apostrophe

When URLs were inside single quotes, we would include the ending quote
in the parsed URL.  To avoid that, remove a final apostrophe in a URL
when creating the hotspot.

Test:
'https://en.wikipedia.org/wiki/Earth's_rotation'

M  +17   -1    src/filterHotSpots/UrlFilter.cpp

https://invent.kde.org/utilities/konsole/commit/f063ade55b491ef7d6fe6cb87d81adaed00ca041

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


More information about the konsole-devel mailing list