From 2f9d4f270c1c4a5a3b8c03a706cabfd04dc0f06e Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Thu, 21 Oct 2021 11:24:48 +0200 Subject: [PATCH] Update src/rrd_cgi.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Co-authored-by: Wolfgang Stöggl --- src/rrd_cgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 36a79976..e7eb5be5 100644 --- a/src/rrd_cgi.c +++ b/src/rrd_cgi.c @@ -793,7 +793,7 @@ static char *rrdstrip( p = buf; while (*p) { if (*p == '<' || *p == '>' || - *p == '&' || *p < ' ' || *p > '\'' || *p == '"') { + *p == '&' || *p < ' ' || *p == '\'' || *p == '"') { *p = '_'; } p++; -- 2.47.2