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

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Sep 11 14:11:10 BST 2022


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

            Bug ID: 458996
           Summary: URL parsing broken when URLs are wrapped in
                    single-quotes
           Product: konsole
           Version: 22.08.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: bastimeyer123 at gmail.com
  Target Milestone: ---

SUMMARY
The URL parsing has recently been re-implemented due to bug 452978.
However, parsing is still broken when URLs get put into single-quotes.

Highlighting and copying the first two URLs works as expected, but the third
one includes the trailing ' character, which is a very annoying issue.

1. echo http://localhost
2. echo "http://localhost"
3. echo 'http://localhost'

It's very common to put URLs into quotations when passing them as CLI arguments
for example, especially when trying to avoid potential string substitutions via
single-quote characters. Quoting is also required due to shell-specific syntax,
like the question mark for example which gets interpreted as a wildcard in
FISH, so URLs with query strings always have to get quoted either via double or
single quotes.

SOFTWARE/OS VERSIONS
$ lsb_release -d
Description:    Arch Linux
$ pacman -Q konsole
konsole 22.08.1-1

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


More information about the konsole-devel mailing list