Closed Kapeli closed 10 years ago
That line gets expanded to $ open dash-plugin://'keys=python&query=word'
which should behave appropriately with shell expansion.
Besides, I do not let words with spaces or other non alpha numeric characters be queried from the plugin.
If users can't search for anything with &
in it, it should be ok.
As far as I can tell at https://github.com/rizzatti/dash.vim/blob/master/autoload/dash.vim#L153, the query that is sent to Dash is not percent-escaped/url encoded (i.e. what you'd get at http://meyerweb.com/eric/tools/dencoder/). It's not a huge bug, but it will cause issues if the query contains the
&
character. At least&
should be escaped.