Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Stringprep code #8246

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ import okio.ByteString.Companion.encodeUtf8
* This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
* direct translation of the pseudocode presented there.
*
* Partner this class with [Stringprep] to implement IDNA [RFC 3490].
* Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
*
* [RFC 3490]: https://datatracker.ietf.org/doc/html/rfc3490
* [RFC 3492]: https://datatracker.ietf.org/doc/html/rfc3492
* [RFC 5890]: https://datatracker.ietf.org/doc/html/rfc5890
* [UTS #46]: https://www.unicode.org/reports/tr46/
*/
object Punycode {
val PREFIX_STRING = "xn--"
Expand Down
98 changes: 0 additions & 98 deletions okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

This file was deleted.

200 changes: 0 additions & 200 deletions okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

This file was deleted.

Loading
Loading