Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arokettu opened this issue Jul 23, 2024 · 0 comments
Open

Comments

@arokettu
Copy link

> (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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant