gordonmcvey / reefknot

Reefknot framework for PHP
Apache License 2.0
5 stars 0 forks source link

Valid IPv6 uri rejected by Uri prop #2

Open gordonmcvey opened 12 years ago

gordonmcvey commented 12 years ago

The following unit test for Uri fails

    public function testIsValidPass9 ()
    {
        $this -> object -> setData ('http://[0:0:0:0:0:0:0:1]');
        $this -> assertTrue ($this -> object -> isValid ());
    }

The URL under test is a valid IPv6 type URL and is equivalent to the IPv4 URL http://127.0.0.1