On Mon, 13 Jan 2014 02:58:02 -0800
fabrixxm <notifications@github.com> wrote:

> won't be better something like
> ```php
> if (strpos($homepage, 'http')!== 0) {
> ```
> ?
> a domain name like `myhttpserver.com` would pass the check

I tested it with ==0 and for some reason then valid URLs did not pass the test, that'S why I did it that way. But I agree with you that such domain names will pass the test as it is now.

OTOH as you pointed out an URL has a protocol in it so that test is not needed in the first place ;-)