Pavol Juhas wrote: > Hello, > > I just found that URLs that contain question mark cannot be loaded > with the latest netrw v134. > > For example > :view http://www.vim.org/scripts/script_search_results.php?keywords=netrw > shows an empty buffer, because the URL that is passed to wget contains '\?'. > The problem seems to go away after applying the attached patch. > I am not sure if this is a good solution, because there is an error > message about temporary file, which could not be deleted. > > Perhaps it would be better to replace "exe Nread" in plugin/netrw.vim > autocommands > with a call to function - in such case the URL could be passed without quoting > and without worries that it may execute some vim commands on the side. > I used the call to a function method, because removing fnameescape() otherwise leaves a security hole.
Please try v135c of netrw, available at my website: http://mysite.verizon.net/astronaut/vim/index.html#NETRW . There's a fix to a tree redrawing problem with it, too. Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
