pkgsrc/sysutils/webmin/patches/patch-an
shattered af5aa5c949 Update to 1.600. Closes PR/45066.
Too many changes to list here.
2012-11-02 19:02:50 +00:00

14 lines
523 B
Text

$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 { "<tt>$_</tt>" } @for);
+$for = join($in{'and'} ? " and " : " or ", map { "<tt>" . &html_escape($_) .
+ "</tt>" } @for);
&ui_print_header(&text('search_for', $for), $text{'search_title'}, "");
if (@rv) {
#@rv = sort { $b->[4] <=> $a->[4] } @rv;