[jdev] Case sensitivity in JIDs

Arne Claassen arne at getorganyzd.com
Wed Dec 10 13:58:03 CST 2008


Thanks for the info. Will adjust my logic accordingly.

arne

On Dec 10, 2008, at 11:40 AM, Peter Saint-Andre wrote:

> Peter Saint-Andre wrote:
>> Arne Claassen wrote:
>>> I'm running into a problem with sending messages directly to  
>>> resources
>>> which I think is related to case sensitivity, so I wanted to make  
>>> sure
>>> I am understanding the spec right.
>>>
>>> Should foo at bar.com/Resource be the same as foo at bar.com/resource?  
>>> (This
>>> is using ejabberd)
>>
>> No, those are different. ResourceIDs are case-insensitive whereas
>> usernames and hosts are not. Basically. :) It's more complicated than
>> that for Unicode characters, but that's the general idea.
>
> Er, sorry, typo. Resource IDs are case-sensitive whereas usernames and
> hostnames are not.
>
> /psa
>
> _______________________________________________
> JDev mailing list
> FAQ: http://www.jabber.org/discussion-lists/jdev-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________




More information about the JDev mailing list