Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Escaping of pasted URLs no more works with 5.0.8-test-3 (compared to 5.0.8)



Hi,

I just installed 5.0.8-test-3 as Debian package (not yet uploaded
anywhere) and worked on some other Debian package while waiting for
the Jenkins build to finish.

While pasting the URL
"https://bugs.debian.org/cgi-bin/bugreport.cgi?filename=links-client-certs.patch;msg=5;att=1;bug=797066";
I noticed the following:

In zsh 5.0.8, all the special characters were escaped:

% wget --content-disposition https://bugs.debian.org/cgi-bin/bugreport.cgi\?filename\=links-client-certs.patch\;msg\=5\;att\=1\;bug\=797066

In zsh 5.0.8-test-3, nothing is escaped anymore:

% wget --content-disposition https://bugs.debian.org/cgi-bin/bugreport.cgi?filename=links-client-certs.patch;msg=5;att=1;bug=797066

I suspect that this has to do with zsh now recognizing if something
came from a paste or was typed into the terminal.

While I generally consider this to be a good idea for line breaks and
friends, not escaping pasted URLs anymore is IMHO definitely a
regression and a loss of a very nice feature.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author