On Mon, Dec 22, 2008 at 09:32:51AM -0500, Laine Stump wrote:
Is the host-then-colon pattern valid if not port follows?
That caught my eye too. It's a bit degenerate, but the BNF for NFS URLs
(in RFC 2224) allows it:
hostport = host [ ":" port ]
port = *digit
So port is 0 or more occurrences of digit.
Yeah, I noticed that as well and think it's an oversight on their
part. But, be that as it may, they do describe handling by saying if
no port is specified to then use the one for the given protocol. So,
if no protocol is specified, then treat it as an error.