Comment 2 for bug 948086

The thing is that spec-compliant URL validation is in fact somewhat of a tricky business, and as it stands glib doesn't provide any helpers for it. That is why we included the overly simplified matching in the first case.

Moreso, http://foo is, in fact, a valid URL. For instance on many company intranets you can access the public webserver on 'http://www'.

So what I am trying to say is: we should forget about strict URL validation and look for stuff regular people are likely to type (or paste in) when they want to access a website.