Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Xn (0.04 sec)

  1. 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",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. 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",
        )
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. 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",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

            host = "テスト.org";
            expected = "xn--zckzah.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "xn--zckzah.org";
            expected = "xn--zckzah.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "%E3%83%86%E3%82%B9%E3%83%88.org";
            expected = "xn--zckzah.org";
            assertEquals(expected, resolver.toAscii(host));
    
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. 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")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 30 06:23:33 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

          CertificatePinner.Builder()
            .add("σkhttp.com", certA1Sha256Pin)
            .build()
    
        val expectedPin = listOf(Pin("σkhttp.com", certA1Sha256Pin))
        assertThat(certificatePinner.findMatchingPins("xn--khttp-fde.com")).isEqualTo(expectedPin)
      }
    
      /** https://github.com/square/okhttp/issues/3324  */
      @Test
      fun checkSubstringMatch() {
        val certificatePinner =
          CertificatePinner.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top