File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ function add_image_form() {
110110
111111if ($ group_id != 0 ) {
112112 $ group_info = $ usergroup ->get ($ group_id );
113+ $ group_info ['name ' ] = Security::remove_XSS ($ group_info ['name ' ]);
114+ $ group_info ['description ' ] = Security::remove_XSS ($ group_info ['description ' ]);
113115
114116 $ interbreadcrumb [] = ['url ' => '# ' , 'name ' => $ group_info ['name ' ]];
115117
@@ -154,6 +156,8 @@ function add_image_form() {
154156$ socialForum = '' ;
155157
156158$ group_info = $ usergroup ->get ($ group_id );
159+ $ group_info ['name ' ] = Security::remove_XSS ($ group_info ['name ' ]);
160+ $ group_info ['description ' ] = Security::remove_XSS ($ group_info ['description ' ]);
157161
158162//Loading group information
159163if (isset ($ _GET ['status ' ]) && $ _GET ['status ' ] == 'sent ' ) {
You can’t perform that action at this time.
0 commit comments