mirror of https://github.com/Icinga/icinga2.git
Config Conversion: Fix global macros requiring escape_str() call.
fixes #4703
This commit is contained in:
parent
7827d14ece
commit
2d991703d6
|
@ -82,7 +82,7 @@ sub parse_icinga1_resource_cfg {
|
|||
$macro_name =~ /\$(.*)\$/;
|
||||
$macro_name = $1;
|
||||
|
||||
$global_macros->{$macro_name} = $macro_value;
|
||||
$global_macros->{$macro_name} = Icinga2::Utils::escape_str($macro_value);
|
||||
}
|
||||
|
||||
return $global_macros;
|
||||
|
|
Loading…
Reference in New Issue