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