- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hostToUriStripsCharacters (0.18 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
assertThat(url.toUri().host).isNull() } /** * Strip unexpected characters when converting to URI (which is more strict). * https://github.com/square/okhttp/issues/5667 */ @Test fun hostToUriStripsCharacters() { val httpUrl = "http://example\".com/".toHttpUrl() assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0)