Encode URL in bookmarklet

This commit is contained in:
Pierre Rudloff 2015-08-06 21:00:37 +02:00
parent 1190f5efa0
commit c218cd88b8

View file

@ -15,7 +15,7 @@
·
Based on <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
&middot;
<a href="javascript:window.location='{$base_url}/api.php?url='+location.href;">Bookmarklet</a>
<a href="javascript:window.location='{$base_url}/api.php?url='+encodeURIComponent(location.href);">Bookmarklet</a>
</div>
</footer>
</body>