$NetBSD: patch-ao,v 1.1 2008/07/25 02:55:27 tonnerre Exp $ --- postfix/mailq_search.cgi.orig 2007-09-21 23:26:52.000000000 +0200 +++ postfix/mailq_search.cgi @@ -17,7 +17,8 @@ $neg = ($in{'field'} =~ s/^!//); $neg ? !$r : $r } @qfiles; print "
",&text($in{'field'} =~ /^\!/ ? 'search_results3' : - 'search_results2', scalar(@qfiles), "$in{'match'}"),"
\n"; + 'search_results2', scalar(@qfiles), "" . + &html_escape($in{'match'}) . ""),"
\n"; if (@qfiles) { # Show matching messages &mailq_table(\@qfiles);