diff --git a/ext/kernel/filter.c b/ext/kernel/filter.c index 0f21ea0950..0cdc4faf4f 100644 --- a/ext/kernel/filter.c +++ b/ext/kernel/filter.c @@ -218,7 +218,7 @@ void zephir_escape_multi(zval *return_value, zval *param, const char *escape_cha /** * Alphanumeric characters are not escaped */ - if (value < 256 && isalnum(value)) { + if (value < 123 && isalnum(value)) { smart_str_appendc(&escaped_str, (unsigned char) value); continue; } diff --git a/kernels/ZendEngine3/filter.c b/kernels/ZendEngine3/filter.c index 0f21ea0950..0cdc4faf4f 100644 --- a/kernels/ZendEngine3/filter.c +++ b/kernels/ZendEngine3/filter.c @@ -218,7 +218,7 @@ void zephir_escape_multi(zval *return_value, zval *param, const char *escape_cha /** * Alphanumeric characters are not escaped */ - if (value < 256 && isalnum(value)) { + if (value < 123 && isalnum(value)) { smart_str_appendc(&escaped_str, (unsigned char) value); continue; }