Ticket #6245 regression closed fixed
Enforcing byte strings in DNS names breaks XMPP example, Wokkel.
|Reported by:||ralphm||Owned by:||therve|
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.