mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
HTML escape description in services list
This commit is contained in:
@ -32,8 +32,9 @@ print &ui_columns_start([ $text{'index_name'}, $text{'index_desc'} ], 100);
|
||||
foreach $p (@_) {
|
||||
local $t = $text{'desc_'.$p->{'name'}};
|
||||
print &ui_columns_row([
|
||||
&ui_link("edit_pam.cgi?idx=".$p->{'index'}, &html_escape($p->{'name'}) ),
|
||||
$p->{'desc'} || $t
|
||||
&ui_link("edit_pam.cgi?idx=".$p->{'index'},
|
||||
&html_escape($p->{'name'}) ),
|
||||
&html_escape($p->{'desc'} || $t),
|
||||
]);
|
||||
}
|
||||
print &ui_columns_end();
|
||||
|
Reference in New Issue
Block a user