Ticket #6245 regression closed fixed
Enforcing byte strings in DNS names breaks XMPP example, Wokkel.
| Reported by: | ralphm | Owned by: | therve |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | names | Keywords: | |
| Cc: | Branch: | branches/srvconnect-warn-unicode-6245 | |
| Author: | ralphm | Launchpad Bug: |
Description
The change for porting of twisted.names to Python 3 in #6057 breaks doc/words/examples/xmpp_client.py and more or less all of Wokkel. To get the host to connect to they use twisted.named.srvconnect.SRVConnector with the XMPP domain. In most cases, this is a unicode object, as gotten from JID.host.
Of course, this never worked correctly for domains with labels that are not all ASCII, because no encoding to punycode is done by Twisted Names.
Change History
Note: See
TracTickets for help on using
tickets.
