diff --git a/cluster-software/search.cgi b/cluster-software/search.cgi
index b81019310..9f4764b81 100755
--- a/cluster-software/search.cgi
+++ b/cluster-software/search.cgi
@@ -29,7 +29,7 @@ if (@match == 1) {
&ui_print_header(undef, $text{'search_title'}, "", "search");
if (@match) {
@match = sort { lc($a->{'name'}) cmp lc($b->{'name'}) } @match;
- print "",&text('search_match', "$s"),"
\n";
+ print "",&text('search_match', "".&html_escape($s).""),"
\n";
print &ui_form_start("delete_packs.cgi", "post");
print &ui_hidden("search", $in{'search'}),"\n";
@@ -43,8 +43,8 @@ if (@match) {
$text{'search_desc'} ], 100, 0, \@tds);
foreach $i (@match) {
local @cols;
- push(@cols, "{'name'})."\">$i->{'name'}");
+ push(@cols, "{'name'})."\">$i->{'name'}");
$c = $i->{'class'};
push(@cols, $i->{'class'} || $text{'search_none'});
push(@cols, $i->{'desc'});
@@ -62,7 +62,7 @@ if (@match) {
print &ui_form_end();
}
else {
- print "",&text('search_nomatch', "$s"),"\n";
+ print "",&text('search_nomatch', "".&html_escape($s).""),"\n";
}
&ui_print_footer("", $text{'index_return'});