From a2e7d64b089c37f59941bba29717bf334721583d Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 25 Nov 2009 14:56:51 +0000 Subject: [PATCH] 2009-11-25 Miguel de Dios * operation/events/events_rss.php: fix the bug in the creation of xml. Fixes: 2902134 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/operation/events/events_rss.php | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8e59d671e2..f30de547d0 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2009-11-25 Miguel de Dios + + * operation/events/events_rss.php: fix the bug in the creation of xml. + Fixes: 2902134 + 2009-11-25 Miguel de Dios * operation/agentes/status_monitor.php: fix the what interval to check in diff --git a/pandora_console/operation/events/events_rss.php b/pandora_console/operation/events/events_rss.php index c812eb2d41..1c3ba077fe 100644 --- a/pandora_console/operation/events/events_rss.php +++ b/pandora_console/operation/events/events_rss.php @@ -114,11 +114,11 @@ foreach ($result as $row) { $rss_feed .= ''; $rss_feed .= safe_input ($url . "/index.php?sec=eventos&sec2=operation/events/events&id_event=" . $row['event_id']); $rss_feed .= ''; - $rss_feed .= safe_output_xml ($row['agent_name']); + $rss_feed .= safe_input ($row['agent_name']); $rss_feed .= ''; - $rss_feed .= safe_output_xml ($row['event_descr']); + $rss_feed .= safe_input ($row['event_descr']); if($row['validated'] == 1) { - $rss_feed .= '

Validated by ' . safe_output_xml ($row['validated_by']); + $rss_feed .= '

Validated by ' . safe_input ($row['validated_by']); } $rss_feed .= '
'; $rss_feed .= safe_input ($url . "/index.php?sec=eventos&sec2=operation/events/events&id_event=" . $row["event_id"]);