diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-10 23:38:26 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 11:56:11 +0200 |
commit | f8337c9d723039760eecccf68bcb02752551e254 (patch) | |
tree | 3dff75ab9af05a2c22aeef2758cc87a6a4d391fa /apps/bookmarks/ajax/addBookmark.php | |
parent | cc653a8a408adfb4d0cd532145668aacd85ad96c (diff) | |
download | nextcloud-server-f8337c9d723039760eecccf68bcb02752551e254.tar.gz nextcloud-server-f8337c9d723039760eecccf68bcb02752551e254.zip |
Using POST instead of GET.
Diffstat (limited to 'apps/bookmarks/ajax/addBookmark.php')
-rw-r--r-- | apps/bookmarks/ajax/addBookmark.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/ajax/addBookmark.php b/apps/bookmarks/ajax/addBookmark.php index 9241dc8ddf6..a2eb506f85e 100644 --- a/apps/bookmarks/ajax/addBookmark.php +++ b/apps/bookmarks/ajax/addBookmark.php @@ -31,5 +31,5 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('bookmarks'); require_once(OC::$APPSROOT . '/apps/bookmarks/bookmarksHelper.php'); -$id = addBookmark($_GET['url'], $_GET['title'], $_GET['tags']); +$id = addBookmark($_POST['url'], $_POST['title'], $_POST['tags']); OCP\JSON::success(array('data' => $id));
\ No newline at end of file |