> It looks like IPv6 parsing may lead to errors. > The logic cannot distinguish from ‘2001:db8::1234:80’ as : > - a plain IPv6 address 2001:db8::1234:80 > - IPv6 2001:db8::1234 on port 80
As far I remember, to prevent this confusion, we made the final colon mandatory on IPv6 addresses. This way, anything before the final colon is the address. If you don't want to specify the port explicitly, the address ends with a colon. -- David du Colombier