blob: ed52bcedcaacfabc6c8d2c78c818a12135b02449 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ak,v 1.1 2008/03/18 21:53:41 tonnerre Exp $
--- cgi/histogram.c.orig 2006-03-21 22:31:46.000000000 +0100
+++ cgi/histogram.c
@@ -1086,6 +1086,7 @@ int process_cgivars(void){
host_name="";
else
strcpy(host_name,variables[x]);
+ strip_html_brackets(host_name);
display_type=DISPLAY_HOST_HISTOGRAM;
}
@@ -1103,6 +1104,7 @@ int process_cgivars(void){
svc_description="";
else
strcpy(svc_description,variables[x]);
+ strip_html_brackets(svc_description);
display_type=DISPLAY_SERVICE_HISTOGRAM;
}
|