diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-04-03 22:07:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-03 22:07:52 +0200 |
commit | a0f126b973b81b9e7088518469600a61bb3ab8ea (patch) | |
tree | 22595599e9c3bbaba16d9a9ec46ef20153b6d2a0 | |
parent | 3b46d0f947958e05c55bb10a817e94a860cda6ef (diff) | |
parent | 8e5b91180e35be27fc47cf9b8981a3378061823e (diff) | |
download | wallabag-a0f126b973b81b9e7088518469600a61bb3ab8ea.tar.gz wallabag-a0f126b973b81b9e7088518469600a61bb3ab8ea.tar.zst wallabag-a0f126b973b81b9e7088518469600a61bb3ab8ea.zip |
Merge pull request #3616 from notFloran/3404-bookmarklet-encoding
Better encoding of the URI for the bookmarklet
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig index 3385cd53..9ebf1bed 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig | |||
@@ -1 +1 @@ | |||
<a id="bookmarklet" ondragend="this.click();" href="javascript:(function(){var url=location.href||url;var wllbg=window.open('{{ url('bookmarklet') }}?url=' + encodeURI(url),'_blank');})();">bag it!</a> | <a id="bookmarklet" ondragend="this.click();" href="javascript:(function(){var url=location.href||url;var wllbg=window.open('{{ url('bookmarklet') }}?url=' + encodeURIComponent(url),'_blank');})();">bag it!</a> | ||