zsh-workers
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-workers@zsh.org
Subject: Escaping of pasted URLs no more works with 5.0.8-test-3 (compared to 5.0.8)
Date: Thu, 27 Aug 2015 18:09:11 +0200	[thread overview]
Message-ID: <20150827160910.GZ9970@sym.noone.org> (raw)

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@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)


             reply	other threads:[~2015-08-27 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 16:09 Axel Beckert [this message]
2015-08-27 16:28 ` Bart Schaefer
2015-08-27 16:56   ` Axel Beckert
2015-08-27 17:22     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150827160910.GZ9970@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).