mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fixed XSS
This commit is contained in:
@@ -59,7 +59,7 @@ elsif ($in{'view'}) {
|
||||
}
|
||||
print "Refresh: $config{'refresh'}\r\n"
|
||||
if ($config{'refresh'});
|
||||
&ui_print_header("<tt>".($file || $cmd)."</tt>",
|
||||
&ui_print_header("<tt>".&html_escape($file || $cmd)."</tt>",
|
||||
$text{'view_title'}, "");
|
||||
|
||||
$lines = $in{'lines'} ? int($in{'lines'}) : $config{'lines'};
|
||||
|
||||
Reference in New Issue
Block a user