From: Tobias Oetiker Date: Thu, 21 Oct 2021 09:24:48 +0000 (+0200) Subject: Update src/rrd_cgi.c X-Git-Tag: v1.8.0~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1136%2Fhead;p=thirdparty%2Frrdtool-1.x.git Update src/rrd_cgi.c Co-authored-by: Wolfgang Stöggl --- 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++;