Netrw bug

James Vega jamessan at jamessan.com
Wed Feb 22 16:12:25 UTC 2006


Charles,

As reported by one of Debian's users[0], netrw is not properly escaping
semicolons when calling commands since it is usually used to indicate
the end of a command.  It looks like adding ';' to the escape calls in
NetRead and NetWrite as well as escaping the tmpfile name fixes the
problem.

Example:
exe "!".g:netrw_http_cmd." ".escape(tmpfile,' ?;&')." http://".g:netrw_machine.escape(b:netrw_fname,' ?;&')

James
[0] http://bugs.debian.org/353076
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at jamessan.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060222/b2278c44/attachment.pgp


More information about the pkg-vim-maintainers mailing list