Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Xn (0.17 sec)

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

          "01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.ß",
          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("xn--85x722f.com.cn", "xn--85x722f.com.cn")
        checkPublicSuffix("xn--85x722f.xn--55qx5d.cn", "xn--85x722f.xn--55qx5d.cn")
        checkPublicSuffix("www.xn--85x722f.xn--55qx5d.cn", "xn--85x722f.xn--55qx5d.cn")
        checkPublicSuffix("shishi.xn--55qx5d.cn", "shishi.xn--55qx5d.cn")
        checkPublicSuffix("xn--55qx5d.cn", null)
        checkPublicSuffix("xn--85x722f.xn--fiqs8s", "xn--85x722f.xn--fiqs8s")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/test/resources/web-platform-test-toascii.json

        "output": null
      },
      {
        "input": "xn--a.ß",
        "output": null
      },
      {
        "input": "xn--ls8h=",
        "output": null
      },
      {
        "comment": "Invalid Punycode (contains non-ASCII character)",
        "input": "xn--tešla",
        "output": null
      },
      {
        "comment": "Valid Punycode",
        "input": "xn--zca.xn--zca",
        "output": "xn--zca.xn--zca"
      },
      {
        "comment": "Mixed",
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    il
    ac.il
    co.il
    gov.il
    idf.il
    k12.il
    muni.il
    net.il
    org.il
    // xn--4dbrk0ce ("Israel", Hebrew) : IL
    ישראל
    // xn--4dbgdty6c.xn--4dbrk0ce.
    אקדמיה.ישראל
    // xn--5dbhl8d.xn--4dbrk0ce.
    ישוב.ישראל
    // xn--8dbq2a.xn--4dbrk0ce.
    צהל.ישראל
    // xn--hebda8b.xn--4dbrk0ce.
    ממשל.ישראל
    
    // im : https://www.nic.im/
    // Submitted by registry <******@****.***>
    im
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  5. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

        testEncodeDecode(
          unicode = "☃.net",
          punycode = "xn--n3h.net",
        )
        testEncodeDecode(
          unicode = "ålgård.no",
          punycode = "xn--lgrd-poac.no",
        )
        testEncodeDecode(
          unicode = "個人.香港",
          punycode = "xn--gmqw5a.xn--j6w193g",
        )
        testEncodeDecode(
          unicode = "упр.срб",
          punycode = "xn--o1ach.xn--90a3ac",
        )
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(parse(unicode, "a=b; domain=長崎.jp")).isNull()
        val punycode = "https://xn--ue5a.xn--ue5a.xn--8ltr62k.jp".toHttpUrl()
        assertThat(parse(punycode, "a=b; domain=xn--ue5a.xn--8ltr62k.jp")).isNotNull()
        assertThat(parse(punycode, "a=b; domain=xn--8ltr62k.jp")).isNull()
      }
    
      @Test fun hostOnly() {
        assertThat(parse(url, "a=b")!!.hostOnly).isTrue()
        assertThat(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

          .isEqualTo("google.co.uk")
        assertThat("https://栃.栃木.jp".toHttpUrl().topPrivateDomain())
          .isEqualTo("xn--ewv.xn--4pvxs.jp")
        assertThat("https://xn--ewv.xn--4pvxs.jp".toHttpUrl().topPrivateDomain())
          .isEqualTo("xn--ewv.xn--4pvxs.jp")
        assertThat("https://co.uk".toHttpUrl().topPrivateDomain()).isNull()
        assertThat("https://square".toHttpUrl().topPrivateDomain()).isNull()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

     *
     * [RFC 3492]: https://datatracker.ietf.org/doc/html/rfc3492
     * [RFC 5890]: https://datatracker.ietf.org/doc/html/rfc5890
     * [UTS #46]: https://www.unicode.org/reports/tr46/
     */
    object Punycode {
      val PREFIX_STRING = "xn--"
      val PREFIX = PREFIX_STRING.encodeUtf8()
    
      private const val BASE = 36
      private const val TMIN = 1
      private const val TMAX = 26
      private const val SKEW = 38
      private const val DAMP = 700
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final InternetDomainName UNICODE_EXAMPLE =
          InternetDomainName.from("j\u00f8rpeland.no");
      private static final InternetDomainName PUNYCODE_EXAMPLE =
          InternetDomainName.from("xn--jrpeland-54a.no");
    
      /** The Greek letter delta, used in unicode testing. */
      private static final String DELTA = "\u0394";
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

        // Hostnames
        assertThat("WwW.GoOgLe.cOm".toCanonicalHost()).isEqualTo("www.google.com")
        assertThat("localhost".toCanonicalHost()).isEqualTo("localhost")
        assertThat("☃.net".toCanonicalHost()).isEqualTo("xn--n3h.net")
    
        // IPv4 Compatible or Mapped addresses
        assertThat("::192.168.0.1".toCanonicalHost()).isEqualTo("::c0a8:1")
        assertThat("::FFFF:192.168.0.1".toCanonicalHost()).isEqualTo("192.168.0.1")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 30 06:23:33 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top