mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Just in case IP contains special characters
This commit is contained in:
@ -219,7 +219,9 @@ elsif (@match) {
|
||||
if ($anno) {
|
||||
$cols[$#cols] .= " <img src=images/star.gif>";
|
||||
}
|
||||
push(@cols, $minfo->{'desc'}, $act->{'user'}, $act->{'ip'});
|
||||
push(@cols, $minfo->{'desc'},
|
||||
&html_escape($act->{'user'}),
|
||||
&html_escape($act->{'ip'}));
|
||||
if ($config{'host_search'}) {
|
||||
push(@cols, $act->{'webmin'});
|
||||
}
|
||||
|
@ -43,10 +43,10 @@ else {
|
||||
}
|
||||
|
||||
print &ui_table_row($text{'view_user'},
|
||||
$act->{'user'});
|
||||
&html_escape($act->{'user'}));
|
||||
|
||||
print &ui_table_row($text{'view_ip'},
|
||||
$act->{'ip'});
|
||||
&html_escape($act->{'ip'}));
|
||||
|
||||
if ($act->{'sid'} ne '-') {
|
||||
print &ui_table_row($text{'view_sid'},
|
||||
|
Reference in New Issue
Block a user