Encode URL parameter in bookmarklet

This commit is contained in:
Sascha Ißbrücker 2019-07-06 07:47:12 +02:00
parent 312ab3db17
commit 89855bb01f
1 changed files with 1 additions and 1 deletions

View File

@ -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);