Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / webmin / patches / patch-ao
blob216b1e8964af56d065ace9c44eeed0abd6b6f1ed
1 $NetBSD$
3 --- postfix/mailq_search.cgi.orig       2007-09-21 23:26:52.000000000 +0200
4 +++ postfix/mailq_search.cgi
5 @@ -17,7 +17,8 @@ $neg = ($in{'field'} =~ s/^!//);
6                  $neg ? !$r : $r } @qfiles;
7  
8  print "<p><b>",&text($in{'field'} =~ /^\!/ ? 'search_results3' :
9 -         'search_results2', scalar(@qfiles), "<tt>$in{'match'}</tt>"),"</b><p>\n";
10 +         'search_results2', scalar(@qfiles), "<tt>" .
11 +         &html_escape($in{'match'}) . "</tt>"),"</b><p>\n";
12  if (@qfiles) {
13         # Show matching messages
14         &mailq_table(\@qfiles);