#806 Punycode in component domains isn’t converted to Unicode

Reporter Link Mauve
Owner Zash
Created
Updated
Stars ★★ (2)
Tags
  • Priority-Medium
  • Type-Defect
  • Status-Invalid
  1. Link Mauve on

    What steps will reproduce the problem? 1. Setup a component host containing non-ASCII characters (for example pubsub.にゃ〜.linkmauve.fr). 2. Use a python2 component that doesn’t support Unicode (like sat_pubsub). 3. Start the component with the Punycode version of that host. What is the expected output? What do you see instead? I’m expecting <handshake xmlns='jabber:component:accept'> Instead I got <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>pubsub.xn--i7jvisc.linkmauve.fr does not match any configured external components</text></stream:error> What version of the product are you using? On what operating system? Prosody 7791:8efd51667622 (branch trunk)

  2. Zash on

    The component should not send punycode / A-labels. Thread on the subject: https://mail.jabber.org/pipermail/standards/2016-December/031768.html

    Changes
    • owner Zash
    • tags Status-Invalid

New comment

Not published. Used for spam prevention and optional update notifications.