From 39ce3605206ead960fe52ca5802222d0f90dbb92 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Fri, 16 Mar 2018 11:12:19 +0100 Subject: [PATCH] [Logs] Scaped CDATAs on logs of windows agent --- pandora_agents/win32/modules/pandora_module.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_agents/win32/modules/pandora_module.cc b/pandora_agents/win32/modules/pandora_module.cc index d7d5fb63c0..eac38c8fa1 100644 --- a/pandora_agents/win32/modules/pandora_module.cc +++ b/pandora_agents/win32/modules/pandora_module.cc @@ -532,6 +532,7 @@ Pandora_Module::getXml () { try { data_clean = strreplace (this->getDataOutput (data), "%", "%%" ); + data_clean = strreplace (data_clean, "]]>", "]]>front (); try { data_clean = strreplace (this->getDataOutput (data), "%", "%%" ); + data_clean = strreplace (data_clean, "]]>", "]]>