News for hackers. Stuff that matters.
Re:In search of the perfect URL validation regex by thwarted on Sunday June 22, 2014 @09:45PM (#7929808)
The trailing dot makes it an invalid URL, which defines hostname as ∗[ domainlabel "." ] toplabel.

RFC2396§3.2.2 defines hostname as:

   hostname      = *( domainlabel "." ) toplabel [ "." ]
RFC3986 which obsoletes RFC2396, seems to make fewer claims about the authority section, and specifically says in Appendix D.2 that the toplabel rule has been removed.

There are no comments on this comment yet.