3 ms·
URLs use : to separate the IP and port. There needs to be some way to disambiguate that from the colons in the address.
by Dagger2 3y ago
URLs use : to separate the IP and port. There needs to be some way to disambiguate that from the colons in the address.
- tristan957 3y agoBut if a URL has more than one colon, can't you assume is an IPv6 address?
- Dagger2 3y agoYou can't tell if there's a port or not, e.g. http://2001:db8::1:8080/ http://2001:db8::1:8080/. Is that 2001:db8::1 or 2001:db8::1:8080?