[jdev] How to handle AIM/external protocol users with "@" in buddy name

Alexey Nezhdanov snake at penza-gsm.ru
Thu Apr 28 11:44:58 CDT 2005

В сообщении от Четверг 28 Апрель 2005 20:25 Paul Clegg написал(a):
> We recently discovered a class of AIM users who have an "@" symbol in their
> buddy name (e.g. buddyname at somecompany.com). Neither aim-t or pyaim-t
> handle this case (the buddy is translated to the jid
> buddyname at somecompany.com@ transport.server.com
> <http://transport.server.com>, which is clearly not a legal jid).
> Can anyone recommend the correct way to resolve xmpp-illegal characters
> encountered in external protocols at the transport level, so that the
> contact can be properly assigned a jid, messaged, stored in the roster,
> etc.?
May be do an urlescape over it? I.e. replace "@" with "%40" etc... ?
> I imagine that the MSN-t folks have dealt with this issue already and may
> have some suggestions for us.
> Thanks,
> Paul
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev

Alexey Nezhdanov

More information about the JDev mailing list