public function UrlValidatorTest::getInvalidUrls in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/UrlValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\UrlValidatorTest::getInvalidUrls()
File
- vendor/
symfony/ validator/ Tests/ Constraints/ UrlValidatorTest.php, line 132
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getInvalidUrls() {
return array(
array(
'google.com',
),
array(
'://google.com',
),
array(
'http ://google.com',
),
array(
'http:/google.com',
),
array(
'http://goog_le.com',
),
array(
'http://google.com::aa',
),
array(
'http://google.com:aa',
),
array(
'http://symfony.com?',
),
array(
'http://symfony.com#',
),
array(
'ftp://google.fr',
),
array(
'faked://google.fr',
),
array(
'http://127.0.0.1:aa/',
),
array(
'ftp://[::1]/',
),
array(
'http://[::1',
),
array(
'http://hello.☎/',
),
array(
'http://:password@symfony.com',
),
array(
'http://:password@@symfony.com',
),
array(
'http://username:passwordsymfony.com',
),
array(
'http://usern@me:password@symfony.com',
),
);
}