summaryrefslogtreecommitdiff
path: root/sysutils/webmin/patches/patch-au
blob: add7d28e35a78146bb69ab6b504dfd0ccd3bc087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-au,v 1.1 2008/07/25 02:55:27 tonnerre Exp $

--- smf/search_instance.cgi.orig	2007-09-21 23:28:42.000000000 +0200
+++ smf/search_instance.cgi
@@ -34,7 +34,8 @@ print "</h2>";
 
 print "<form  method=\"POST\" action=\"search_instance.cgi\">\n";
 print
-    "<input size=60 name=\"searchstring\" value=\"$original_searchstring\">\n";
+    "<input size=60 name=\"searchstring\" value=\"" .
+    &html_escape($original_searchstring) . "\">\n";
 &print_svc_chooser("searchstring", 0, "$text{'search_instance_browse'}",
 	"both", "0");
 print "&nbsp;<input type=submit value=\"$text{'search_instance_go'}\">\n";