mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
Fix potential security issue.
This commit is contained in:
parent
65ab64c22c
commit
5f4dc54ab3
@ -353,7 +353,7 @@ class GroupsController {
|
|||||||
$data = array();
|
$data = array();
|
||||||
|
|
||||||
$data["id"] = $info->get_id();
|
$data["id"] = $info->get_id();
|
||||||
$data["name"] = $info->get_name();
|
$data["name"] = removeHTMLnodes($info->get_name());
|
||||||
$data["icon_url"] = $info->get_logo_url();
|
$data["icon_url"] = $info->get_logo_url();
|
||||||
$data["number_members"] = $info->get_number_members();
|
$data["number_members"] = $info->get_number_members();
|
||||||
$data["membership"] = self::GROUPS_MEMBERSHIP_LEVELS[$info->get_membership_level()];
|
$data["membership"] = self::GROUPS_MEMBERSHIP_LEVELS[$info->get_membership_level()];
|
||||||
|
Loading…
Reference in New Issue
Block a user