diff --git a/bind8/log_parser.pl b/bind8/log_parser.pl
index d450b1b67..55538502a 100755
--- a/bind8/log_parser.pl
+++ b/bind8/log_parser.pl
@@ -20,15 +20,15 @@ if ($type eq 'record') {
$p->{'newvalues'}) {
return &text("log_${action}_record_v",
$text{"type_$p->{'type'}"},
- "$p->{'name'}",
- "$object",
- "$p->{'newvalues'}");
+ "".&html_escape($p->{'name'})."",
+ "".&html_escape($object)."",
+ "".&html_escape($p->{'newvalues'})."");
}
else {
return &text("log_${action}_record",
$text{"type_$p->{'type'}"},
- "$p->{'name'}",
- "$object");
+ "".&html_escape($p->{'name'})."",
+ "".&html_escape($object)."");
}
}
}