php-ip icon indicating copy to clipboard operation
php-ip copied to clipboard

IPBlock should not try to check if the IP notation is numeric or binary

Open arokettu opened this issue 7 months ago • 0 comments

> (string)\PhpIP\IPBlock::create('asdf/32')
= "97.115.100.102/32"

While asdf is a valid binary representation of some IP, it's not valid when it's a part of a subnet notation and should not be allowed

arokettu avatar Jul 23 '24 09:07 arokettu