- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for idn (0.04 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 17.1K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
* limitations under the License. */ @file:Suppress("ktlint:standard:filename") package okhttp3.internal import okhttp3.internal.idn.IDNA_MAPPING_TABLE import okhttp3.internal.idn.Punycode import okio.Buffer /** * Quick and dirty pattern to differentiate IP addresses from hostnames. This is an approximation * of Android's private InetAddress#isNumeric API. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-urltestdata.txt
http://%ef%bc%85%ef%bc%94%ef%bc%91.com # ...%00 in fullwidth should fail (also as escaped UTF-8 input) http://\uff05\uff10\uff10.com http://%ef%bc%85%ef%bc%90%ef%bc%90.com # Basic IDN support, UTF-8 and UTF-16 input should be converted to IDN http://\u4f60\u597d\u4f60\u597d s:http p:/ h:xn--6qqa088eba # Invalid escaped characters should fail and the percents should be # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 14.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
*/ package okhttp3 import assertk.assertThat import assertk.assertions.startsWith import kotlin.test.assertFailsWith import kotlin.test.fail import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.internal.idn.Punycode import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 /** * Tests how each code point is encoded and decoded in the context of each URL component. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:31:39 UTC 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
checkPublicSuffix("www.test.ak.us", "test.ak.us") checkPublicSuffix("k12.ak.us", null) checkPublicSuffix("test.k12.ak.us", "test.k12.ak.us") checkPublicSuffix("www.test.k12.ak.us", "test.k12.ak.us") // IDN labels. checkPublicSuffix("食狮.com.cn", "食狮.com.cn") checkPublicSuffix("食狮.公司.cn", "食狮.公司.cn") checkPublicSuffix("www.食狮.公司.cn", "食狮.公司.cn") checkPublicSuffix("shishi.公司.cn", "shishi.公司.cn")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.3K bytes - Viewed (0)