mirror of https://github.com/Icinga/icinga2.git
parent
7599e858ec
commit
6ed811cd78
|
@ -57,8 +57,8 @@ sub errlog {
|
||||||
sub escape_str {
|
sub escape_str {
|
||||||
my $str = shift;
|
my $str = shift;
|
||||||
|
|
||||||
$str =~ s/\\/\\\\"/g;
|
|
||||||
$str =~ s/"/\\"/g;
|
$str =~ s/"/\\"/g;
|
||||||
|
$str =~ s/\\\\"/\\"/g;
|
||||||
|
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue