- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for idn (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
* ``` * * @param domain A canonicalized domain. An International Domain Name (IDN) should be punycode * encoded. */ fun getEffectiveTldPlusOne(domain: String): String? { // We use UTF-8 in the list so we need to convert to Unicode. val unicodeDomain = IDN.toUnicode(domain) val domainLabels = splitDomain(unicodeDomain) val rule = findMatchingRule(domainLabels)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
public void testEquality() { new EqualsTester() .addEqualityGroup(idn("google.com"), idn("google.com"), idn("GOOGLE.COM")) .addEqualityGroup(idn("www.google.com")) .addEqualityGroup(UNICODE_EXAMPLE) .addEqualityGroup(PUNYCODE_EXAMPLE) .testEquals(); } private static InternetDomainName idn(String domain) { return InternetDomainName.from(domain); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android-test-app/proguard-rules.pro
# no rules should be needed -whyareyoukeeping class okhttp3.internal.idn.IdnaMappingTable { *;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 19:38:06 UTC 2025 - 100 bytes - Viewed (0) -
okhttp/build.gradle.kts
filteringCharset = Charsets.UTF_8.toString() expand( // Build & use okhttp3/internal/-InternalVersion.kt "projectVersion" to project.version, ) } // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt val generateIdnaMappingTableConfiguration: Configuration by configurations.creating dependencies { generateIdnaMappingTableConfiguration(projects.okhttpIdnaMappingTable) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 03:59:03 UTC 2025 - 9.4K bytes - Viewed (0) -
CHANGELOG.md
to use `Lock` and `Condition` instead of `synchronized` for best resource utilization. * New: Switch our Internationalized Domain Name (IDN) implementation to [UTS #46 Nontransitional Processing][uts46]. With this fix, the `ß` code point no longer maps to `ss`. OkHttp now embeds its own IDN mapping table in the library. * New: Prefer the client's configured precedence order for TLS cipher suites. (OkHttp used to
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
} @Test fun hostnameMappingLastMappedCodePoint() { assertThat(parse("http://\uD87E\uDE1D").host).isEqualTo("xn--pu5l") } // The java.net.IDN implementation doesn't ignore characters that it should. @Ignore @Test fun hostnameMappingLastIgnoredCodePoint() { assertThat(parse("http://ab\uDB40\uDDEFcd").host).isEqualTo("abcd") } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0)