diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-10 23:38:26 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-10 23:38:26 +0200 |
commit | 9f276729c2a44151c29754e816fb002502222b1d (patch) | |
tree | 3654659364a537eb418d45d15cd40e0433bf533f /apps/bookmarks/ajax/recordClick.php | |
parent | 380aab470ff375a8f898b3b9b8375236130209d0 (diff) | |
download | nextcloud-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.php | 2 |
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" ); |