url: fixed typo
url: don't remove last char of ipv6 addresses