Bug#1060060: libclipboard-perl: 'clipbrowse' from Debian package libclipboard-perl executing clipboard contents

gregor herrmann gregoa at debian.org
Sun Jan 7 00:12:13 GMT 2024


On Sat, 06 Jan 2024 02:08:44 +0100, Florian Schlichting wrote:

> I must admit I did not test this with firefox (only google-chrome), but
> I have done some testing now with "export BROWSER=firefox" set.
> 
> In my testing both work fine when the clipboard contains just a proper URL.
> 
> Newlines seem to be ignored / removed, and the second line concatenated
> to the first. This might be useful in case the MUA broke a long URL.
> 
> Firefox will display a new empty window when the clipboard contains a
> blank, while chrome changes that blank to %20 and displays the resulting
> URL in a new tab. Chrome on the other hand will display a new empty
> window when the clipboard contains a pipe.

Thanks for your extensive testing!
 
> IMHO both failure modes are acceptable, as in those cases the clipboard
> doesn't just contain a URL but some other garbage as well. Apparently
> the "I'm feeling lucky" part mentioned in the clipbrowse manpage is no
> longer implemented in Firefox. And there's clipjoin, which will remove
> some whitespace and pipe characters...

Sounds good to me.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20240107/f2aa55b5/attachment.sig>


More information about the pkg-perl-maintainers mailing list