diff --git a/bookmarks/templates/bookmarks/bookmarklet.js b/bookmarks/templates/bookmarks/bookmarklet.js index ba0ab08..abd8339 100644 --- a/bookmarks/templates/bookmarks/bookmarklet.js +++ b/bookmarks/templates/bookmarks/bookmarklet.js @@ -2,7 +2,7 @@ var bookmarkUrl = window.location; var applicationUrl = '{{ application_url }}'; - applicationUrl += '?url=' + bookmarkUrl; + applicationUrl += '?url=' + encodeURIComponent(bookmarkUrl); applicationUrl += '&auto_close'; window.open(applicationUrl);