[jdev] Escaping JID using XEP-0106
stpeter at jabber.org
Wed Jun 27 17:19:22 CDT 2007
Sergei Golovan wrote:
> On 6/27/07, Matthias Wimmer <m at tthias.eu> wrote:
>> Hi Sergei!
>> Ah okay ... it seems I start understanding what you are trying to do.
>> You want to map a JID (or something like that) into another JID, e.g.
>> for building the infamous Jabber-Jabber transport.
> Not exactly. I want to implement XEP-0106 in Tkabber and the idea was
> to show only unescaped JIDs to a user. But since different escaped
> (real) JIDs map to one escaped JID then it's impossible (user should
> definitely know who sent the message).
> My current yhought is the following: to show unescaped JID if and only
> if it can be escaped unambiguously.
> But this approach isn't good too (appending different resources we may
> break unescaping of any bare JID).
> So, probably I will not unescape / and @ in nodes. It should solve
Sure, try that out and see how it goes.
XMPP Standards Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
More information about the JDev