[Standards] XEP-0045: roomnick case

textshell-E19442 at neutronstar.dyndns.org textshell-E19442 at neutronstar.dyndns.org
Thu Jul 19 23:48:23 UTC 2007


On Thu, Jul 19, 2007 at 02:36:25PM -0600, Peter Saint-Andre wrote:
> Currently in XEP-0045, roomnicks are case-sensitive. To be precise
> roomnicks are handled according to the Resourceprep profile of stringprep:
> 
> http://www.xmpp.org/extensions/xep-0045.html#bizrules-jids
> 
> This means that the following roomnicks are all different:
> 
> StPeter
> stpeter
> STPETER
> 
> Some people have pointed out that this can be confusing to end users.
> 

I think if we want to solve this in a compatible way we should just
let the muc server block multiple nicks in the same room with only
differ in case (rephrase that in Stringprep section numbers, etc)

If a server works that way (and maybe announces with a status code on
join) the clients MAY do local case folding as they like.

I think this should be allowed without changing the muc XEP at all,
it's just something the implementation would need to code.

> We could solve it by applying the Nodeprep profile of stringprep, but
> that would forbid things like whitespace and the ' and : characters.
> (Naturally, those characters could be escaped using XEP-0106 if desired.)
> 

I don't think we should restrict nicks more. Or rather i think
nick restrictions should be left to the implementation and it's
admins/muc owners.

 - Martin H.



More information about the Standards mailing list