Remove expansion of '%' #584.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 3 Jan 2020 23:36:31 +0000 (00:36 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 3 Jan 2020 23:46:59 +0000 (00:46 +0100)
commit71693a23e9c3904ed81b35125f0f97ddb2e5fea9
treea65ecb6e740ebe8195720acfbdb3679dcc0ea562
parent6b73a6fc16f1a01d246f4bf5732aea01fc7727bb
Remove expansion of '%' #584.

The % is often used in urls and in case of the x-hint-command those are
feed to :shellcmd and will be replaced by current URL. This made the
x-hint-command unusable on some search engines.
The expansion of % to the current URL also required to give the current
browser state to the expansion logic and to feed it to all callers of
this too. This bloated the code.
This patch removes the % expansion which was a redundant alternative to
$VIMB_URI.
CHANGELOG.md
src/ex.c
src/main.c
src/util.c
src/util.h
tests/test-util.c