We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bfd55c commit 7e9044bCopy full SHA for 7e9044b
ext/filter/logical_filters.c
@@ -714,7 +714,7 @@ void php_filter_validate_ip(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */
714
if (flags & FILTER_FLAG_NO_RES_RANGE) {
715
if (
716
(ip[0] == 0) ||
717
- (ip[0] == 100 && (ip[1] == 0 || ip[1] <= 127)) ||
+ (ip[0] == 100 && (ip[1] >= 64 || ip[1] <= 127)) ||
718
(ip[0] == 128 && ip[1] == 0) ||
719
(ip[0] == 191 && ip[1] == 255) ||
720
(ip[0] == 169 && ip[1] == 254) ||
0 commit comments