url: don't remove last char of ipv6 addresses