mirror of
https://github.com/webmin/webmin.git
synced 2025-07-25 15:09:18 +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 (@_) {
|
foreach $p (@_) {
|
||||||
local $t = $text{'desc_'.$p->{'name'}};
|
local $t = $text{'desc_'.$p->{'name'}};
|
||||||
print &ui_columns_row([
|
print &ui_columns_row([
|
||||||
&ui_link("edit_pam.cgi?idx=".$p->{'index'}, &html_escape($p->{'name'}) ),
|
&ui_link("edit_pam.cgi?idx=".$p->{'index'},
|
||||||
$p->{'desc'} || $t
|
&html_escape($p->{'name'}) ),
|
||||||
|
&html_escape($p->{'desc'} || $t),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
print &ui_columns_end();
|
print &ui_columns_end();
|
||||||
|
Reference in New Issue
Block a user