Core: fix decodeUrl for parse ipv6 address