$NetBSD: patch-an,v 1.2 2012/11/02 19:02:51 shattered Exp $ --- man/search.cgi.orig 2007-09-21 23:26:43.000000000 +0200 +++ man/search.cgi @@ -255,7 +255,8 @@ if (@rv == 1 && !$in{'check'}) { } # Display search results -$for = join($in{'and'} ? " and " : " or ", map { "$_" } @for); +$for = join($in{'and'} ? " and " : " or ", map { "" . &html_escape($_) . + "" } @for); &ui_print_header(&text('search_for', $for), $text{'search_title'}, ""); if (@rv) { #@rv = sort { $b->[4] <=> $a->[4] } @rv;