logo       

Netrw bug: msg#00044

Subject: Netrw bug
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@xxxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>