On 07/11/08 21:21, 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.
>
> Cheers,
>
> Pavol

& in a query string should be passed as & or as %26 though many web 
pages don't use this, even though the W3C HTML guidelines require it.

I suppose that if netrw has problems with the question mark (maybe for 
internal reasons) it can always be passed as %3F (but of course not as 
%253F which would be double percent escaping and miss the goal).


Best regards,
Tony.
-- 
Women are probably the main cause of free software starvation.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui