- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ochtar (0.16 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(parse("http://[0:0:0:0:0:1:0.0.0.0]/").host).isEqualTo("::1:0:0") } @Test fun hostIpv6WithIpv4SuffixWithOctalPrefix() { // Chrome interprets a leading '0' as octal; Firefox rejects them. (We reject them.) assertInvalid( "http://[0:0:0:0:0:1:0.0.0.000000]/", "Invalid URL host: \"[0:0:0:0:0:1:0.0.0.000000]\"", ) assertInvalid(
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/main/kotlin/okhttp3/HttpUrl.kt
pos: Int, limit: Int, ): Int { if (limit - pos < 2) return -1 val c0 = input[pos] if ((c0 < 'a' || c0 > 'z') && (c0 < 'A' || c0 > 'Z')) return -1 // Not a scheme start char. characters@ for (i in pos + 1 until limit) { return when (input[i]) { // Scheme character. Keep going. in 'a'..'z', in 'A'..'Z', in '0'..'9', '+', '-', '.' -> continue@characters
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1)