mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-10 06:04:15 +00:00
Encode URL parameter in bookmarklet
This commit is contained in:
parent
312ab3db17
commit
89855bb01f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue