summaryrefslogtreecommitdiff
path: root/net/nagios-base/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'net/nagios-base/patches/patch-ap')
-rw-r--r--net/nagios-base/patches/patch-ap20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/nagios-base/patches/patch-ap b/net/nagios-base/patches/patch-ap
new file mode 100644
index 00000000000..d73fcb3e4ed
--- /dev/null
+++ b/net/nagios-base/patches/patch-ap
@@ -0,0 +1,20 @@
+$NetBSD: patch-ap,v 1.1 2008/03/18 21:53:41 tonnerre Exp $
+
+--- cgi/statusmap.c.orig 2006-03-21 22:31:46.000000000 +0100
++++ cgi/statusmap.c
+@@ -412,6 +412,7 @@ int process_cgivars(void){
+ host_name="all";
+ else
+ strcpy(host_name,variables[x]);
++ strip_html_brackets(host_name);
+
+ if(!strcmp(host_name,"all"))
+ show_all_hosts=TRUE;
+@@ -570,6 +571,7 @@ int process_cgivars(void){
+ break;
+ }
+
++ strip_html_brackets(variables[x]);
+ add_layer(variables[x]);
+ }
+ }