- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for toUriSpecialQueryCharacters (0.18 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
assertThat(url.toString()).isEqualTo("http://host/#=[]:;\"~|?#@^/$%25*") assertThat(url.toUri().toString()) .isEqualTo("http://host/#=[]:;%22~%7C?%23@%5E/$%25*") } @Test fun toUriSpecialQueryCharacters() { val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl() val uri = httpUrl.toUri() assertThat(uri.toString()).isEqualTo("http://host/?d=abc!@[]%5E%60%7B%7D%7C%5C") } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0)