We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 687c34a commit b6ee7d2Copy full SHA for b6ee7d2
archivebox/templates/core/add.html
@@ -43,7 +43,7 @@ <h1>Add new URLs to your archive</h1>
43
{% if absolute_add_path %}
44
<center id="bookmarklet">
45
<p>Bookmark this link to quickly add to your archive:
46
- <a href="javascript:void(window.open('{{ absolute_add_path }}?url='+document.location.href));">Add to ArchiveBox</a></p>
+ <a href="javascript:void(window.open('{{ absolute_add_path }}?url='+encodeURIComponent(document.location.href)));">Add to ArchiveBox</a></p>
47
</center>
48
{% endif %}
49
<script>
0 commit comments