diff --git a/shell/log_parser.pl b/shell/log_parser.pl index 022116b9d..e7cc36947 100755 --- a/shell/log_parser.pl +++ b/shell/log_parser.pl @@ -9,7 +9,7 @@ sub parse_webmin_log { local ($user, $script, $action, $type, $object, $p) = @_; if ($action eq "run") { - return &text('log_run', "$p->{'cmd'}"); + return &text('log_run', "".&html_escape($p->{'cmd'}).""); } elsif ($action eq "clear") { return $text{'log_clear'};