On Sat, 2011-02-26 at 12:24 -0800, John R Pierce wrote:
On 02/26/11 12:12 PM, Always Learning wrote:
Because : is sometimes used in an address to indicate the start of a port number, example http://www.anyonejunk.com:1234, the IP6 address can be enclosed within [ ] with the port number remaining outside the square brackets.
Thats, MUST be enclosed within []... without those [ ], how would you resolve
http://21DA:00D3::00FF:FE28:8080
is that... http://%5B21DA:00D3:0000:0000:0000:00FF:FE28:8080] or http://%5B21DA:00D3:0000:0000:0000:0000:00FF:FE28%5D:8080
? Both of those are valid IPv6 addresses
if anything, I'd put the blame on this squarely on the committee that decided to use : as the IPv6 seperator when it was already in wide use as the URL port separator.
What separator would you have chosen?
\ (used by M$) / (used for directories etc.) : (used for port number) . (used by IP4) ; (widely used as a terminator) # ? = ? - ? _ ? ! ? " ? < (used in HTML and email addresses)
(used in HTML and email addresses)
, ? ^ ? % ? $ ? ~ ?
What would anyone have chosen ?
With best regards,
Paul. England, EU.