[10190] in www-talk@info.cern.ch
Re: URL parsing and IPv6 addresses
daemon@ATHENA.MIT.EDU (Shel Kaphan)
Wed Aug 7 17:17:18 1996
Date: Tue, 6 Aug 1996 17:52:05 -0700 (PDT)
From: Shel Kaphan <sjk@amazon.com>
To: Larry Masinter <masinter@parc.xerox.com>
Cc: david@ufl.edu, www-talk@w3.org
In-Reply-To: <96Aug6.131638pdt."2733"@golden.parc.xerox.com>
Resent-From: www-talk@w3.org
Larry Masinter writes:
> Square brackets "[" "]" are currently not allowed in URLs, and are
> listed as "unsafe":
>
>
> > Other characters are unsafe because
> > gateways and other transport agents are known to sometimes modify
> > such characters. These characters are "{", "}", "|", "\", "^", "~",
> > "[", "]", and "`".
>
> two alternatives seem workable:
>
> 1) dotted decimal with 8 parts instead of 4
> 2) string of hex with no punctuation
>
> - Larry
>
>
How about just using some other punctuation besides ":" before port numbers
in URLs for IPv6, for example ";"? Surely the URL parser is going to have
to know whether it's an IPv4 or IPv6 IP address by the time it gets
that far.