$NetBSD: patch-ap,v 1.4 2022/04/02 13:23:08 mef Exp $ Set &html_escape for safety --- webminlog/search.cgi.orig 2022-03-03 13:10:55.000000000 +0900 +++ webminlog/search.cgi 2022-04-02 20:58:04.828924454 +0900 @@ -180,7 +180,8 @@ elsif (@match) { # Show search results in table if ($in{'sid'}) { print "",&text('search_sid', "$match[0]->{'user'}", - "$in{'sid'}")," ..

\n"; + "" . &html_escape($in{'sid'}) . ""), + " ..

\n"; } elsif ($in{'uall'} == 1 && $in{'mall'} && $in{'tall'}) { print "$text{'search_critall'} ..

\n";