Currently we reject JIDs with valid Unicode-y domains. http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=shortlog;h=refs/heads/domain-validation improves matters slightly, and adds a test.
(I'll backport the fix to Gabble 0.8, which has the same code.)
I merged the Wocky branch: http://git.collabora.co.uk/?p=wocky.git;a=commit;h=49a9539dc42da2ceb3266bee9e2a13bba51a6ae3 I tried replacing the incomplete validation and normalization with Glib's g_hostname_to_{unicode,ascii}, which claim to do nameprep, but they turned out to not reject blatantly invalid domains: http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=commitdiff;h=domain-validation-glib
Repurposing this bug for what's left.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.