mirror of
https://github.com/webmin/webmin.git
synced 2026-06-19 02:40:32 +01:00
HTML escape record values
This commit is contained in:
@@ -20,15 +20,15 @@ if ($type eq 'record') {
|
||||
$p->{'newvalues'}) {
|
||||
return &text("log_${action}_record_v",
|
||||
$text{"type_$p->{'type'}"},
|
||||
"<tt>$p->{'name'}</tt>",
|
||||
"<tt>$object</tt>",
|
||||
"<tt>$p->{'newvalues'}</tt>");
|
||||
"<tt>".&html_escape($p->{'name'})."</tt>",
|
||||
"<tt>".&html_escape($object)."</tt>",
|
||||
"<tt>".&html_escape($p->{'newvalues'})."</tt>");
|
||||
}
|
||||
else {
|
||||
return &text("log_${action}_record",
|
||||
$text{"type_$p->{'type'}"},
|
||||
"<tt>$p->{'name'}</tt>",
|
||||
"<tt>$object</tt>");
|
||||
"<tt>".&html_escape($p->{'name'})."</tt>",
|
||||
"<tt>".&html_escape($object)."</tt>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user