- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hostToUriStripsCharacters (0.15 sec)
-
okhttp/src/test/java/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: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0)