summaryrefslogtreecommitdiff
path: root/net/nagios-base/patches/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'net/nagios-base/patches/patch-as')
-rw-r--r--net/nagios-base/patches/patch-as28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/nagios-base/patches/patch-as b/net/nagios-base/patches/patch-as
new file mode 100644
index 00000000000..069f8e4f70c
--- /dev/null
+++ b/net/nagios-base/patches/patch-as
@@ -0,0 +1,28 @@
+$NetBSD: patch-as,v 1.1 2008/03/18 21:53:41 tonnerre Exp $
+
+--- cgi/summary.c.orig 2006-03-21 22:31:46.000000000 +0100
++++ cgi/summary.c
+@@ -1135,6 +1135,7 @@ int process_cgivars(void){
+ target_hostgroup_name="";
+ else
+ strcpy(target_hostgroup_name,variables[x]);
++ strip_html_brackets(target_hostgroup_name);
+
+ if(!strcmp(target_hostgroup_name,"all"))
+ show_all_hostgroups=TRUE;
+@@ -1157,6 +1158,7 @@ int process_cgivars(void){
+ target_servicegroup_name="";
+ else
+ strcpy(target_servicegroup_name,variables[x]);
++ strip_html_brackets(target_servicegroup_name);
+
+ if(!strcmp(target_servicegroup_name,"all"))
+ show_all_servicegroups=TRUE;
+@@ -1179,6 +1181,7 @@ int process_cgivars(void){
+ target_host_name="";
+ else
+ strcpy(target_host_name,variables[x]);
++ strip_html_brackets(target_host_name);
+
+ if(!strcmp(target_host_name,"all"))
+ show_all_hosts=TRUE;