HTML escape search text

This commit is contained in:
Jamie Cameron
2012-09-21 09:36:31 -07:00
parent 58bc6cfdd2
commit 249d96b0bd

View File

@@ -282,7 +282,7 @@ if (@rv) {
print &ui_columns_end();
}
else {
print "<p><b>",&text('search_none', "<tt>$in{'for'}</tt>"),"</b><p>\n";
print "<p><b>",&text('search_none', "<tt>".&html_escape($in{'for'})."</tt>"),"</b><p>\n";
}
&ui_print_footer("", $text{'index_return'});