@Test
public void hostIpv6ScopedAddress() throws Exception {

    // java.net.InetAddress parses scoped addresses. These aren't valid in URLs.
    assertEquals(null, HttpUrl.parse("http://[::1%2544]"));
}