Merge branch 'ent-7889-vulnerabilidad-xss-en-elementos-de-servicios' into 'develop'
Ent 7889 vulnerabilidad xss en elementos de servicios See merge request artica/pandorafms!4360
This commit is contained in:
commit
3be0c18165
|
@ -593,7 +593,7 @@ class Tree
|
|||
|
||||
$module['type'] = 'module';
|
||||
$module['id'] = (int) $module['id'];
|
||||
$module['name'] = io_safe_output($module['name']);
|
||||
$module['name'] = $module['name'];
|
||||
$module['id_module_type'] = (int) $module['id_tipo_modulo'];
|
||||
$module['server_type'] = (int) $module['id_modulo'];
|
||||
$module['status'] = $module['estado'];
|
||||
|
@ -1097,7 +1097,7 @@ class Tree
|
|||
|
||||
protected function getThirdLevelSql()
|
||||
{
|
||||
// Get the server id
|
||||
// Get the server id.
|
||||
$serverID = $this->serverID;
|
||||
|
||||
$group_acl = $this->getGroupAclCondition();
|
||||
|
|
|
@ -69,9 +69,9 @@ function treeview_printModuleTable($id_module, $server_data=false, $no_head=fals
|
|||
|
||||
// Module name
|
||||
if ($module['disabled']) {
|
||||
$cellName = '<em>'.ui_print_truncate_text(io_safe_output($module['nombre']), GENERIC_SIZE_TEXT, true, true, true, '[…]', 'text-transform: uppercase;').ui_print_help_tip(__('Disabled'), true).'<em>';
|
||||
$cellName = '<em>'.ui_print_truncate_text($module['nombre'], GENERIC_SIZE_TEXT, true, true, true, '[…]', 'text-transform: uppercase;').ui_print_help_tip(__('Disabled'), true).'<em>';
|
||||
} else {
|
||||
$cellName = ui_print_truncate_text(io_safe_output($module['nombre']), GENERIC_SIZE_TEXT, true, true, true, '[…]', 'text-transform: uppercase;');
|
||||
$cellName = ui_print_truncate_text($module['nombre'], GENERIC_SIZE_TEXT, true, true, true, '[…]', 'text-transform: uppercase;');
|
||||
}
|
||||
|
||||
$row = [];
|
||||
|
|
Loading…
Reference in New Issue