util: fix incorrect escape sequence in string_is_safe()
This commit is contained in:
committed by
Harald Hoyer
parent
281d4a7710
commit
843f6bf4ef
+1
-1
@@ -3627,7 +3627,7 @@ bool string_is_safe(const char *p) {
|
||||
if (*t > 0 && *t < ' ')
|
||||
return false;
|
||||
|
||||
if (strchr("\\\"\'\0x7f", *t))
|
||||
if (strchr("\\\"\'\x7f", *t))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user