JID case sensitivity

Martin Atkins mart at degeneration.co.uk
Wed Apr 29 16:46:25 UTC 2009

Alex Vandiver wrote:
> On Thu, 2009-03-26 at 22:02 -0400, Alex Vandiver wrote:
>> That sounds correct.  Attached is a patch, which _does_ add a dep of
>> Unicode::Stringprep, but is probably as faithful of an implementation of
>> the spec as we might be able to get.
> An updated patch is attached, which fixes an error which caused
> resources with spaces to be (wrongly) treated as illegal.  The other two
> patches make domain checks case-insensitive, and add a flag for
> backwards compatibility.  Any thoughts on getting these applied?

What is the back-compact impact of this on sites that do not use the flag?

This is only an issue for systems that have existing, non-normalized 
JIDs in their RosterStorage, right?

If so, I'll commit this patch. I assume that most folks won't actually 
need to use the back-compat flag since most folks will have normalized 
JIDs stored.

More information about the Djabberd mailing list