[Standards] JID Escaping

Peter Saint-Andre stpeter at jabber.org
Mon Jul 30 17:10:19 UTC 2007


Greg Hudson wrote:
> On Mon, 2007-07-30 at 10:49 -0600, Peter Saint-Andre wrote:
>> Or do what this person is going to do -- prevent people who have ' in
>> their email address from using Jabber! (Sorry, no address mapping for you!)
> 
> I don't have any issue with JID escaping for characters like '.  In
> fact, I don't know why ' isn't allowed in JID nodes in the first place,
> but what's done is done.
> 
> I am concerned, though, that I could create stpeter
> \40xjabber.org at example.com and clients would present that as
> stpeter at jabber.org@example.com.  Although the clued-in user could
> recognize that as an example.com JID, many would probably see it as
> "Peter with some weird extra routing gunk."
> 
> Perhaps the answer is to say that clients MAY pick and choose which
> characters to unescape in order to avoid creating confusion for users.
> @ would probably be first on the chopping block, with space and / not
> too far behind.

Perhaps it would help for us to define a "profile" of characters that we
think are reasonable in native XMPP bare JIDs?

IMHO the following characters are most desirable (least confusing):

'
"
:
<
>
&

The following are potentially confusing:

/
SP

The following is very confusing:

@

/psa


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7354 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20070730/14b0b69c/attachment.bin>


More information about the Standards mailing list