--- software/search.cgi.orig 2009-03-18 07:30:27.000000000 +0200 +++ software/search.cgi 2009-04-09 12:27:58.000000000 +0300 @@ -34,7 +34,7 @@ if (@match) { @match = sort { lc($packages{$a,'name'}) cmp lc($packages{$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'}); @tds = ( "width=5" ); @@ -47,7 +47,8 @@ $text{'search_desc'} ], 100, 0, \@tds); foreach $i (@match) { local @cols; - push(@cols, "".&html_escape( $packages{$i,'name'}.($packages{$i,'version'} ? @@ -69,7 +70,7 @@ print &ui_form_end([ [ undef, $text{'search_delete'} ] ]); } else { - print "",&text('search_nomatch', "$s"),"

\n"; + print "",&text('search_nomatch', "" . &html_escape($s) . ""),"

\n"; } &ui_print_footer("", $text{'index_return'});