[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaLegacyConfigHelper: Don't escape quotes in strings

git at icinga.org git at icinga.org
Thu Nov 3 14:23:26 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 7ba3c425a5a89da9120b75a8aa297bc2ebc2bd46
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=7ba3c425a5a89da9120b75a8aa297bc2ebc2bd46

Author: Markus Frosch <markus.frosch at icinga.com>
Date:   Thu Nov  3 13:17:53 2016 +0100

IcingaLegacyConfigHelper: Don't escape quotes in strings

refs #12919

---

 library/Director/IcingaConfig/IcingaLegacyConfigHelper.php |    2 --
 1 file changed, 2 deletions(-)

diff --git a/library/Director/IcingaConfig/IcingaLegacyConfigHelper.php b/library/Director/IcingaConfig/IcingaLegacyConfigHelper.php
index e1eb351..7cba5c0 100644
--- a/library/Director/IcingaConfig/IcingaLegacyConfigHelper.php
+++ b/library/Director/IcingaConfig/IcingaLegacyConfigHelper.php
@@ -43,7 +43,6 @@ class IcingaLegacyConfigHelper
     {
         $special = array(
             '/\\\/',
-            '/"/',
             '/\$/',
             '/\t/',
             '/\r/',
@@ -54,7 +53,6 @@ class IcingaLegacyConfigHelper
 
         $replace = array(
             '\\\\\\',
-            '\\"',
             '\\$',
             '\\t',
             '\\r',



More information about the icinga-checkins mailing list