summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/js/bookmarks.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/js/bookmarks.js')
-rw-r--r--apps/bookmarks/js/bookmarks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/js/bookmarks.js b/apps/bookmarks/js/bookmarks.js
index 760ae96b9e6..ac87d967be8 100644
--- a/apps/bookmarks/js/bookmarks.js
+++ b/apps/bookmarks/js/bookmarks.js
@@ -48,7 +48,7 @@ function getMetadata() {
var url = encodeEntities($('#bookmark_add_url').val())
$.ajax({
url: 'ajax/getMeta.php',
- data: 'url=' + encodeURI(url),
+ data: 'url=' + encodeURIComponent(url),
success: function(pageinfo){
$('#bookmark_add_url').val(pageinfo.data.url);
$('#bookmark_add_description').val(pageinfo.data.description);