mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix to HTML escape passed package name
This commit is contained in:
@@ -76,7 +76,7 @@ elsif ($in{source} == 2) {
|
||||
\&progress_callback);
|
||||
}
|
||||
else {
|
||||
&install_error(&text('install_eurl', $in{'url'}));
|
||||
&install_error(&text('install_eurl', &html_escape($in{'url'})));
|
||||
}
|
||||
&install_error(&html_escape($error)) if ($error);
|
||||
$source = $in{'url'};
|
||||
|
||||
@@ -71,7 +71,7 @@ if (@match) {
|
||||
print &ui_form_end([ [ undef, $text{'search_delete'} ] ]);
|
||||
}
|
||||
else {
|
||||
print "<b>",&text('search_nomatch', "<tt>$s</tt>"),"</b><p>\n";
|
||||
print "<b>",&text('search_nomatch', "<tt>@{[&html_escape($s)]}</tt>"),"</b><p>\n";
|
||||
}
|
||||
|
||||
&ui_print_footer("", $text{'index_return'});
|
||||
|
||||
Reference in New Issue
Block a user