diff --git a/src/libinjection_sqli.c b/src/libinjection_sqli.c index f369e4f1..44943402 100644 --- a/src/libinjection_sqli.c +++ b/src/libinjection_sqli.c @@ -177,7 +177,7 @@ strlencspn(const char *s, size_t len, const char *accept) /* likely we can do better by inlining this function * but this works for now */ - if (strchr(accept, s[i]) != NULL) { + if (s[i]<32 || strchr(accept, s[i]) != NULL) { return i; } }