IPv6 address/port format
dancer@zeor.simegen.com
dancer@zeor.simegen.com
Mon, 10 Jan 2000 20:20:08 +0000
Jason Gunthorpe wrote:
> On Mon, 10 Jan 2000, Chris P. Ross wrote:
>
> > I've seen people use both "IPv6-addr port" (space sep.) and
> > "IPv6-addr/port". I think I really like using '/', and haven't yet
> > found a place where that will cause problems except for in URIs.
> > Using spaces is just universally compliated. I guess we could use
> > something like '%', but then again, me randomly proposing things here
> > is probabaly not the best place to make suggestions usefully. ;-)
>
> The various RFCs for URIS basically mandate a format like this:
>
> http://user:password@host:port/
>
> Trouble is that IPv6 numberic addresses are incompatible with that form..
> Using % (uri escape char) and / (uri path seperator) are both no
> goes.
>
> We may just find that you cannot use IPv6 numeric addresses at all with
> alot of things...
>
> It seems to me that using : for the seperator was a very bad idea :<
Perhaps. However, file:/// URL's for DOS boxen encode ':' in the path as a pipe.
No reason why the same thing wouldn't work for v6 addresses in URLs.
D