Skip to content

Commit 787d194

Browse files
authored
Remove Stringprep code (#8246)
* Remove Stringprep code * Update Punycode documentation
1 parent f9ea026 commit 787d194

20 files changed

+3
-2805
lines changed

okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ import okio.ByteString.Companion.encodeUtf8
2525
* This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
2626
* direct translation of the pseudocode presented there.
2727
*
28-
* Partner this class with [Stringprep] to implement IDNA [RFC 3490].
28+
* Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
2929
*
30-
* [RFC 3490]: https://datatracker.ietf.org/doc/html/rfc3490
3130
* [RFC 3492]: https://datatracker.ietf.org/doc/html/rfc3492
31+
* [RFC 5890]: https://datatracker.ietf.org/doc/html/rfc5890
32+
* [UTS #46]: https://www.unicode.org/reports/tr46/
3233
*/
3334
object Punycode {
3435
val PREFIX_STRING = "xn--"

okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

-98
This file was deleted.

okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

-200
This file was deleted.

0 commit comments

Comments
 (0)