Permalink
Browse files

Remove XSS from social groups page - refs #2746

  • Loading branch information...
ywarnier committed Dec 3, 2018
1 parent 0af86dc commit 5e61c2b0fcc938ca687b8d4e593b1500aa52a034
Showing with 4 additions and 0 deletions.
  1. +4 −0 main/social/group_view.php
@@ -110,6 +110,8 @@ function add_image_form() {
if ($group_id != 0) {
$group_info = $usergroup->get($group_id);
$group_info['name'] = Security::remove_XSS($group_info['name']);
$group_info['description'] = Security::remove_XSS($group_info['description']);
$interbreadcrumb[] = ['url' => '#', 'name' => $group_info['name']];
@@ -154,6 +156,8 @@ function add_image_form() {
$socialForum = '';
$group_info = $usergroup->get($group_id);
$group_info['name'] = Security::remove_XSS($group_info['name']);
$group_info['description'] = Security::remove_XSS($group_info['description']);
//Loading group information
if (isset($_GET['status']) && $_GET['status'] == 'sent') {

0 comments on commit 5e61c2b

Please sign in to comment.