Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hostIpv6AddressTooManyLeadingZeros (0.43 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // java.net.InetAddress parses scoped addresses. These aren't valid in URLs.
        assertInvalid("http://[::1%2544]", "Invalid URL host: \"[::1%2544]\"")
      }
    
      @Test
      fun hostIpv6AddressTooManyLeadingZeros() {
        // Guava's been buggy on this case. https://github.com/google/guava/issues/3116
        assertInvalid(
          "http://[2001:db8:0:0:1:0:0:00001]",
          "Invalid URL host: \"[2001:db8:0:0:1:0:0:00001]\"",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
Back to top