[jdev] Escaping JID using XEP-0106
m at tthias.eu
Wed Jun 27 06:51:39 CDT 2007
Sergei Golovan schrieb:
> Or may be hiding real (escaped) JIDs from the user is a bad idea at all?
In fields where a general JID is expected, I'd say you should display
the full (escaped) JID. - As only this one is a JID.
The whole fuzz about escaping is just to make something a JID, that
wouldn't be one else. So if you need a JID you will always display the
result of the escaping.
IMO you only do unescaping, if you want to display something that is not
a JID but the original address. And you should only do this on places
where the user is aware about the fact, that he does not see a JID, but
an other address.
Matthias Wimmer Fon +49-700 77 00 77 70
Züricher Str. 243 Fax +49-89 95 89 91 56
81476 München http://ma.tthias.eu/
More information about the JDev