validator icon indicating copy to clipboard operation
validator copied to clipboard

http://localhost/ is not valid url for UrlValidator

Open amincheloh opened this issue 8 years ago • 14 comments

Not sure it is by design or bug if bug i can create a PR.

What steps will reproduce the problem?

$val = new UrlValidator;
$result = $val->validate('http://localhost/');

What is the expected result?

true

What do you get instead?

false

amincheloh avatar Dec 11 '16 08:12 amincheloh