Just for the record for anybody running into this: the workaround is clear - use only lowercase for domain names and ejabberd host defintions.
XMPP domains are supposed to be compared in a case-insensitive fashion [1], so it would be reasonable for OpenSRF's trusted domains checks to do the same. Using strcasecmp would be a quick fix, though it looks like a fully standards-compliant fix would use libidn [2] or the like.
Just for the record for anybody running into this: the workaround is clear - use only lowercase for domain names and ejabberd host defintions.
XMPP domains are supposed to be compared in a case-insensitive fashion [1], so it would be reasonable for OpenSRF's trusted domains checks to do the same. Using strcasecmp would be a quick fix, though it looks like a fully standards-compliant fix would use libidn [2] or the like.
[1] To oversimplify, nowadays -- see https:/ /tools. ietf.org/ html/rfc6122# section- 2.2 for the truly gory details. www.gnu. org/software/ libidn/
[2] http://