Encode URL parameter in bookmarklet
This commit is contained in:
parent
312ab3db17
commit
89855bb01f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue