diff options
Diffstat (limited to 'apps/calendar/ajax/share')
-rw-r--r-- | apps/calendar/ajax/share/changepermission.php | 3 | ||||
-rw-r--r-- | apps/calendar/ajax/share/share.php | 3 | ||||
-rw-r--r-- | apps/calendar/ajax/share/unshare.php | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/apps/calendar/ajax/share/changepermission.php b/apps/calendar/ajax/share/changepermission.php index 2737420c94e..f3c628e8477 100644 --- a/apps/calendar/ajax/share/changepermission.php +++ b/apps/calendar/ajax/share/changepermission.php @@ -5,7 +5,8 @@ * later. * See the COPYING-README file. */ - + OCP\JSON::callCheck(); + $id = strip_tags($_GET['id']); $idtype = strip_tags($_GET['idtype']); $permission = (int) strip_tags($_GET['permission']); diff --git a/apps/calendar/ajax/share/share.php b/apps/calendar/ajax/share/share.php index 629a7b6b79f..babb8ce3f13 100644 --- a/apps/calendar/ajax/share/share.php +++ b/apps/calendar/ajax/share/share.php @@ -5,7 +5,8 @@ * later. * See the COPYING-README file. */ - + OCP\JSON::callCheck(); + $id = strip_tags($_GET['id']); $idtype = strip_tags($_GET['idtype']); switch($idtype){ diff --git a/apps/calendar/ajax/share/unshare.php b/apps/calendar/ajax/share/unshare.php index fe7c98452d7..09264070dde 100644 --- a/apps/calendar/ajax/share/unshare.php +++ b/apps/calendar/ajax/share/unshare.php @@ -5,7 +5,8 @@ * later. * See the COPYING-README file. */ - + OCP\JSON::callCheck(); + $id = strip_tags($_GET['id']); $idtype = strip_tags($_GET['idtype']); switch($idtype){ |