Skip to content

Conversation

@mvaught02
Copy link

Summary

This PR fixes a long-standing bug in hyperlink.URL.to_uri() where plain IPv6 literal hosts (e.g., [::1]) are incorrectly passed to idna.encode().

This bug was originally reported in #68 and #188 and affects downstream users (e.g., treq) even on current releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant