- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for toUriWithControlCharacters (0.34 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
assertThat(url.encodedFragment).isEqualTo("\u0080") // Control characters may be stripped! assertThat(url.toUri()).isEqualTo(URI("http://host/#")) } @Test fun toUriWithControlCharacters() { // Percent-encoded in the path. assertThat("http://host/a\u0000b".toHttpUrl().toUri()) .isEqualTo(URI("http://host/a%00b")) assertThat("http://host/a\u0080b".toHttpUrl().toUri())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0)