[Pidgin] #4855: msimprpl should verify the username is valid before setting

Pidgin trac at pidgin.im
Sat Feb 16 16:31:37 EST 2008


#4855: msimprpl should verify the username is valid before setting
------------------------+---------------------------------------------------
  Reporter:  Jaywalker  |       Owner:  jeff 
      Type:  defect     |      Status:  new  
  Priority:  minor      |   Milestone:       
 Component:  MySpace    |     Version:  2.3.1
Resolution:             |    Keywords:       
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by jeff):

 Added `msim_username_is_valid()`in
 782f53e182e5aae0645ddca95945dd0c104330ff to check whether the username
 meets these constraints, and isn't all-numeric. Not used anywhere yet.

 How should we handle spaces and capitals within usernames to be set? Seems
 the 9,14 command rejects usernames with spaces, but the 5,7 "lookup user
 by string" command doesn't. Maybe we'll have to set the canonical username
 (no spaces, all lowercase) with 9,14, then call another command to set the
 capitalization and spacing.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4855#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list