[Pidgin] #16059: Nicknames with trailing space character in XMPP MUCs are handled inconsistently

Pidgin trac at pidgin.im
Wed Feb 26 20:15:19 EST 2014


#16059: Nicknames with trailing space character in XMPP MUCs are handled
inconsistently
--------------------+-----------------------------------------
 Reporter:  djfun   |      Owner:  deryni
     Type:  defect  |     Status:  new
Milestone:          |  Component:  XMPP
  Version:  2.10.9  |   Keywords:  jabber groupchat conference
--------------------+-----------------------------------------
 To reproduce this:
 * Join a XMPP MUC with 2 Accounts with nicknames "test" and "test1"
 * Change the nick of "test1" to "test "
 * Change it then to "test2"
 * Pidgin says now for your first account "test" that you have changed your
 own nick to "test2"

 I took a look into the source code and my understanding is that in
 coversation.c in purple_conv_chat_rename_user and
 purple_conv_chat_set_nick the call to purple_normalize (jabber_normalize
 in jutil.c) the space character gets removed which leads to this strange
 behaviour. I believe that the nicknames in a chat room should not be
 treated like a domain of a JID but like a resource
 (http://xmpp.org/extensions/xep-0045.html#bizrules)

-- 
Ticket URL: <https://developer.pidgin.im/ticket/16059>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list