mirror of
https://github.com/webmin/webmin.git
synced 2026-02-08 16:29:58 +00:00
Escape visible values in select list
This commit is contained in:
@@ -857,7 +857,7 @@ foreach $o (@$opts) {
|
||||
$o = [ $o ] if (!ref($o));
|
||||
$rv .= "<option value=\""."e_escape($o->[0])."\"".
|
||||
($sel{$o->[0]} ? " selected" : "")." ".$o->[2].">".
|
||||
($o->[1] || $o->[0])."\n";
|
||||
&html_escape($o->[1] || $o->[0])."\n";
|
||||
$opt{$o->[0]}++;
|
||||
}
|
||||
foreach $s (keys %sel) {
|
||||
|
||||
Reference in New Issue
Block a user