summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/ajax/recordClick.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-10 23:38:26 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-10 23:38:26 +0200
commit9f276729c2a44151c29754e816fb002502222b1d (patch)
tree3654659364a537eb418d45d15cd40e0433bf533f /apps/bookmarks/ajax/recordClick.php
parent380aab470ff375a8f898b3b9b8375236130209d0 (diff)
downloadnextcloud-server-9f276729c2a44151c29754e816fb002502222b1d.tar.gz
nextcloud-server-9f276729c2a44151c29754e816fb002502222b1d.zip
Using POST instead of GET.
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 2bd91f232a4..1eee1718d13 100644
--- a/apps/bookmarks/ajax/recordClick.php
+++ b/apps/bookmarks/ajax/recordClick.php
@@ -37,7 +37,7 @@ $query = OCP\DB::prepare("
AND url LIKE ?
");
-$params=array(OCP\USER::getUser(), htmlspecialchars_decode($_GET["url"]));
+$params=array(OCP\USER::getUser(), htmlspecialchars_decode($_POST["url"]));
$bookmarks = $query->execute($params);
header( "HTTP/1.1 204 No Content" );