[Pidgin] #12132: Unable to kick users with spaces in their name

Pidgin trac at pidgin.im
Tue Jun 8 15:57:17 EDT 2010


#12132: Unable to kick users with spaces in their name
-----------------------------+----------------------------------------------
 Reporter:  TehShrike        |     Owner:  rekkanoryo
     Type:  defect           |    Status:  new       
Component:  unclassified     |   Version:  2.7.1     
 Keywords:  kick conference  |  
-----------------------------+----------------------------------------------
 Due to the fact that the /kick command expects the first word to be a
 username, and every word after it to be the reason for kicking, it is
 impossible to kick users from conference rooms if they have a space in
 their name.

 To duplicate:
 1. Create or join a chat/conference room of which you are an administrator
 (someone with kick privileges).  It will need to be a server whose
 protocol allows for spaces in nicks (such as XMPP).

 2. Have some user join the chat room, and change their nick to contain at
 least one space.

 3. Attempt to kick the user using the /kick command.  Only the characters
 between the "/kick " and the next space will be interpreted as the
 username.

 Attempting to to kick a user with the nick "Your mom" would go something
 like this:
 /kick Your mom because she's an idiot
 Would return:
 Unable to kick user Your

 I am not sure of the best way to remedy this.  Perhaps the ability to
 enclose nicks in quotes would be sufficient, like so:
 /kick "Your mom" because she's an idiot

 Suggestions welcome, as is dev attention :-)

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12132>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list