diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e6faa6bb8c..8fb6a523b2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2014-06-30 Koichiro KIKUCHI + + * operation/agentes/estado_monitores.php, + operation/agentes/status_monitor.php, + operation/search_modules.php: Fixed snapshot view title. + 2014-06-30 Koichiro KIKUCHI * extensions/agents_modules.php, diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php index 866e43922f..7d55a0b56c 100644 --- a/pandora_console/operation/agentes/estado_monitores.php +++ b/pandora_console/operation/agentes/estado_monitores.php @@ -572,7 +572,7 @@ foreach ($modules as $module) { $link ="winopeng_var('operation/agentes/snapshot_view.php?" . "id=" . $module["id_agente_modulo"] . "&refr=" . $module["current_interval"] . - "&label=" . rawurlencode($module["nombre"]) . "','".$win_handle."', 700,480)"; + "&label=" . rawurlencode(urlencode(io_safe_output($module["nombre"]))) . "','".$win_handle."', 700,480)"; $salida = '' . html_print_image("images/default_list.png", true, diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index b585d85d29..3ee48457e0 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -1165,7 +1165,7 @@ foreach ($result as $row) { $link = "winopeng_var('operation/agentes/snapshot_view.php?" . "id=" . $row["id_agente_modulo"] . "&refr=" . $row["current_interval"] . - "&label=" . $row["nombre"] . "','" . $win_handle . "', 700,480)"; + "&label=" . rawurlencode(urlencode(io_safe_output($row["module_name"]))) . "','" . $win_handle . "', 700,480)"; $salida = '' . html_print_image("images/default_list.png", true, diff --git a/pandora_console/operation/search_modules.php b/pandora_console/operation/search_modules.php index 2fa48e77c6..1e5a9da82a 100644 --- a/pandora_console/operation/search_modules.php +++ b/pandora_console/operation/search_modules.php @@ -175,7 +175,7 @@ else { $url = 'include/procesos.php?agente='.$module["id_agente_modulo"]; $win_handle=dechex(crc32($handle)); - $link ="winopeng_var('operation/agentes/snapshot_view.php?id=".$module["id_agente_modulo"]."&refr=".$module["current_interval"]."&label=".$module["nombre"]."','".$win_handle."', 700,480)"; + $link ="winopeng_var('operation/agentes/snapshot_view.php?id=".$module["id_agente_modulo"]."&refr=".$module["current_interval"]."&label=".rawurlencode(urlencode(io_safe_output($module["module_name"])))."','".$win_handle."', 700,480)"; $dataCell = '' . html_print_image("images/default_list.png", true, array("border" => '0', "alt" => "", "title" => __("Snapshot view"))) . '   '; }