- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for 63 (0.18 sec)
-
okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt
@Test fun mixedCasePunycode() { testDecodeOnly( unicode = "ليهمابتكلموشعربي؟", punycode = "Xn--EgBpDaJ6Bu4bXfGeHfVwXn", ) } /** * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may * overflow and return null. */ @Test fun overflowEncodingOversizedLabel() { val a1000 = "a".repeat(1000) val a1000MaxCodePoint = a1000 + "\udbff\udfff"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
fun String.canParseAsIpAddress(): Boolean = VERIFY_AS_IP_ADDRESS.matches(this) /** * Returns true if the length is not valid for DNS (empty or greater than 253 characters), or if any * label is longer than 63 characters. Trailing dots are okay. */ internal fun String.containsInvalidLabelLengths(): Boolean { if (length !in 1..253) return true var labelStart = 0 while (true) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
"Parsing: <http://f:999999/c> against <http://example.org/foo/bar>", "Parsing: <http://192.0x00A80001> against <about:blank>", "Parsing: <http://%30%78%63%30%2e%30%32%35%30.01> against <http://other.com/>", "Parsing: <http://192.168.0.257> against <http://other.com/>", "Parsing: <http://0Xc0.0250.01> against <http://other.com/>", )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertInvalid("http://.../", "Invalid URL host: \"...\"") assertInvalid("http://…/", "Invalid URL host: \"…\"") } @Test fun labelTooLong() { val a63 = "a".repeat(63) assertThat(parse("http://$a63/").toString()).isEqualTo("http://$a63/") assertThat(parse("http://a.$a63/").toString()).isEqualTo("http://a.$a63/")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt
class WebPlatformToAsciiTest { @Suppress("ktlint:standard:max-line-length") val knownFailures = setOf( // OkHttp rejects empty labels. "x..xn--zca", "x..ß", // OkHttp rejects labels longer than 63 code points, the web platform tests don't. "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca", "x01234567890123456789012345678901234567890123456789012345678901x.ß",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-urltestdata.txt
# No special handling for IPv4 or IPv4-like URLs http://%30%78%63%30%2e%30%32%35%30.01 s:http p:/ h:192.168.0.1 http://%30%78%63%30%2e%30%32%35%30.01%2e s:http p:/ h:0xc0.0250.01. http://192.168.0.257 # Invalid escaping should trigger the regular host error handling. http://%3g%78%63%30%2e%30%32%35%30%2E.01 # Something that isn't exactly an IP should get treated as a host and
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 14.3K bytes - Viewed (0) -
android-test/README.md
... BUILD SUCCESSFUL in 1m 30s 63 actionable tasks: 61 executed, 2 up-to-date ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2.5K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
} else { buf.skip(length.toLong()) } } return result } @Throws(EOFException::class) private fun skipName(source: Buffer) { // 0 - 63 bytes var length = source.readByte().toInt() if (length < 0) { // compressed name pointer, first two bits are 1 // drop second byte of compression offset source.skip(1) } else {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
assertThat(formEncode(59)).isEqualTo("%3B") assertThat(formEncode(60)).isEqualTo("%3C") assertThat(formEncode(61)).isEqualTo("%3D") assertThat(formEncode(62)).isEqualTo("%3E") assertThat(formEncode(63)).isEqualTo("%3F") assertThat(formEncode(64)).isEqualTo("%40") assertThat(formEncode(65)).isEqualTo("A") assertThat(formEncode(90)).isEqualTo("Z") assertThat(formEncode(91)).isEqualTo("%5B")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.8K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-toascii.json
"input": "\uFFFD.com", "output": null }, { "comment": "U+FFFD character encoded in Punycode", "input": "xn--zn7c.com", "output": null }, { "comment": "Label longer than 63 code points", "input": "x01234567890123456789012345678901234567890123456789012345678901x", "output": "x01234567890123456789012345678901234567890123456789012345678901x" }, {
Json - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 5.2K bytes - Viewed (0)