[Standards-JIG] Re: query component in XMPP URIs

Jacek Konieczny jajcus at bnet.pl
Wed Sep 29 11:53:51 UTC 2004


On Wed, Sep 29, 2004 at 05:43:17AM -0500, Nolan Eakins wrote:
> May I suggest "xmpp:pubsub.example.com#foo" for the above unless '#' is
> allowed anywhere in a JID. That would obviously come after the resource,
> ie: "xmpp:pubsub at example.com/resource#foo".
> 
> I did glance through the nodeprep and resourceprep sections of xmpp-core. I
> didn't see anything that prohibited a pound sign in a JID or a question
> mark, but I could still be wrong. If they're currently allowed, then '?'
> may need to be prohibited in resourceprep or switch the '?' in your
> examples to use '&' instead. 

Characters that we choose to use in URI, like "?" or "#" could be always
%-encoded in the JID part of the URI.

Greets,
	Jacek



More information about the Standards mailing list