From 4c74c9be8b252e3f73d11cee373173af6754c9ec Mon Sep 17 00:00:00 2001 From: qgarnier Date: Wed, 9 Mar 2022 09:07:10 +0100 Subject: [PATCH] (plugin) hardware::server::hp::ilo::xmlapi - harden xml check response (#3535) --- centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm b/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm index affe0dfbe..78771c2db 100644 --- a/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm +++ b/centreon-plugins/hardware/server/hp/ilo/xmlapi/custom/api.pm @@ -263,6 +263,8 @@ sub change_shitty_xml { $options{response} =~ s////msg; + $options{response} =~ s///msg; + return $options{response}; }