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

            Bug ID: 416509
           Summary: The searched text in "Google Selected Text" tool
                    should be escaped
           Product: kate
           Version: 19.12.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: maciej.lib...@fastmail.com
  Target Milestone: ---

SUMMARY
The searched text in external tool "Google Selected Text" is not escaped. If it
contains meaningful, correct URL characters (like &, ?), they can be
interpreted by browser as URL parts, not search query.

STEPS TO REPRODUCE
1. Highlight text with some special characters, e.g. 'something to search &
something'
2. Use "Google Selected Text" tool
3. See browser address bar and google search field

OBSERVED RESULT
Address bar contains full searched text (in the same form in case of Firefox)
but google search field contains only the part before '&', e.g. 'something to
search'.

EXPECTED RESULT
Google search field contains whole text.

SOFTWARE/OS VERSIONS
Windows: 10, 19H1
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0

ADDITIONAL INFORMATION
Thanks for the great editor :)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to