Control: tag -1 + moreinfo Hi Vincent,
Vincent Lefevre wrote: > (Set to important because this is a regression and may lead to > execution of wrong code, which is particularly bad here since > pasted URL's often come from external source.) > > url-quote-magic no longer works when pasting, probably due to > bracketed paste. Any chance that your bug report is about the same thing I reported upstream back in August against 5.0.8-test-3? http://www.zsh.org/mla/workers/2015/msg02221.html > % autoload -Uz url-quote-magic > % zle -N self-insert url-quote-magic > % wget > > Then after "wget ", paste: http://localhost/foo&bar > > I thought that the problem was solved upstream. No, there was nothing to solve. bracketed-paste is a new feature and it doesn't call self-insert when pasting. Adding the following to my zshrc directly after "zle -N self-insert url-quote-magic" should help: autoload -Uz bracketed-paste-magic zle -N bracketed-paste bracketed-paste-magic See the comments inside Functions/Zle/bracketed-paste-magic. (If you don't object, I'd just close that bug report again as it seems no bug.) Regards, Axel -- ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE

