[qutebrowser] spaces in URLs

Christian Helbling christian.helbling at localsearch.ch
Thu Nov 23 21:46:07 CET 2017


On 23.11.2017 21:34, Florian Bruhin wrote:
> On Thu, Nov 23, 2017 at 07:34:18PM +0000, Stephen Davies (sdavies) wrote:
>>
>>     Trevor's question leads to one from me.
>>
>>     When I highlight and paste a long URL into Firefox, it seems to helpfully
>> trim out any internal whitespace (like linebreaks/spaces introduced into the
>> URL by long lines in my email reader. I use mutt btw.) qutebrowser does not do
>> this, and therefore when I copy/paste a long URL (like the one Florian gave,
>> below) into the ":open" command, I get a 404. The only way I know to fix it is
>> to scrutinize the URL by hand and surgically remove each space, or else to use
>> FF again instead of qutebrowser for the moment.
>>
>>     Could qutebrowser be made easily to emulate FF's behavior here?
> 
> qutebrowser allows pasting multiple URLs (like from a text file or so) to open
> them all - which I find quite useful.
> 
> You might want to instead configure your terminal (or mutt, e.g. via
> urlview/urlscan) so you can open links without copy-pasting them.

With email it is often the case that newlines are broken on the sender side already.

Maybe both requirements can be met when only triggering the multiple urls mode
when lines start with a valid protocol like http / https.

-Christian



More information about the qutebrowser mailing list