[konsole] [Bug 89299] prevent paste of newline characters

Luke-Jr bugzilla_noreply at kde.org
Wed Sep 1 15:14:27 BST 2021


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

Luke-Jr <luke-jr+kdebugs at utopios.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luke-jr+kdebugs at utopios.org

--- Comment #63 from Luke-Jr <luke-jr+kdebugs at utopios.org> ---
I've noticed and found quite annoying the new bracketed paste feature.

I'm not sure it's a proper fix either, since pasting malicious data into
non-shells could still be a threat. Surely every single CLI application can't
be expected to interpret bracketed paste control characters?

Konversation has, for a long time, had a nice behaviour where it displays the
clipboard in a separate dialog for review prior to actually pasting. It only
does this for multi-line pastes, since it can guarantee single-line pastes will
be harmless (it remains in Konversation's own line entry box).

An ideal solution would probably involve untrusted sources marking the
clipboard as such - but I'm not sure programs can reliably determine if they
are trusted or not (it's entirely possible a README shown in Konsole might be
considered untrusted, for example).

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


More information about the konsole-devel mailing list