summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ifilter.c b/ifilter.c
index cd02869..8b2e8a3 100644
--- a/ifilter.c
+++ b/ifilter.c
@@ -366,7 +366,7 @@ unsigned int suhosin_input_filter(int arg, char *var, char **val, unsigned int v
366 } 366 }
367 367
368 /* Drop this variable if it begins with whitespace which is disallowed */ 368 /* Drop this variable if it begins with whitespace which is disallowed */
369 if (*var == ' ') { 369 if (isspace(*var)) {
370 if (SUHOSIN_G(disallow_ws)) { 370 if (SUHOSIN_G(disallow_ws)) {
371 suhosin_log(S_VARS, "request variable name begins with disallowed whitespace - dropped variable '%s'", var); 371 suhosin_log(S_VARS, "request variable name begins with disallowed whitespace - dropped variable '%s'", var);
372 if (!SUHOSIN_G(simulation)) { 372 if (!SUHOSIN_G(simulation)) {