summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/ajax/recordClick.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/ajax/recordClick.php')
-rw-r--r--apps/bookmarks/ajax/recordClick.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/ajax/recordClick.php b/apps/bookmarks/ajax/recordClick.php
index 4dcb0b4a0df..116daea8bbb 100644
--- a/apps/bookmarks/ajax/recordClick.php
+++ b/apps/bookmarks/ajax/recordClick.php
@@ -40,7 +40,7 @@ $query = OC_DB::prepare("
AND url LIKE ?
");
-$params=array(OC_User::getUser(), urldecode($_GET["url"]));
+$params=array(OC_User::getUser(), htmlspecialchars_decode($_GET["url"]));
$bookmarks = $query->execute($params);
header( "HTTP/1.1 204 No Content" );