[Members] MOTION: JEP-0106 (JID Escaping)

Jacek Konieczny jajcus at bnet.pl
Fri Mar 26 01:36:16 CST 2004


On Thu, Mar 25, 2004 at 05:39:45PM -0000, Richard Dobson wrote:
> > If I'm understanding you correctly,
> > your saying we should use URI escaping because "everyone already does
> that",
> 
> No because its a published standard, I was under the impression that as a
> community we are trying to reuse existing standards as much as we can like
> SOCKS5, SASL etc etc.

URI escaping cannot be used to escape '@' in JID node, because '@' is
a forbidden character - encoded or not. We cannot assume JID is always
URI-escaped, because then all not-ascii characters would have to be
escaped too, and the whole Nodeprep would make no sense.

JID is not URI, JID may written in an URI and then it has to be URI-escaped.
This is other level of escaping, than that used by transports.

If we don't want current escaping practices ('@' -> '%'), than we need
some other escaping mechanism. URI-escaping could be, of course, reused,
but then we would get things double-escaped when used in URI.

Greets,
	Jacek



More information about the Members mailing list