Skip to content

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

@arokettu

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions