[buddypress-trac] [BuddyPress] #2310: There is a serious bug in buddypress 1.2.3 signup validation for username

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon May 24 11:16:18 UTC 2010


#2310: There is a serious bug in buddypress 1.2.3 signup validation for username
------------------------------------------------+---------------------------
 Reporter:  faisalzulfiqar                      |        Owner:          
     Type:  defect                              |       Status:  reopened
 Priority:  critical                            |    Milestone:  1.2.4   
Component:  Core                                |   Resolution:          
 Keywords:  register,mysql error,illegal_names  |  
------------------------------------------------+---------------------------
Changes (by aesqe):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 shouldn't that be:

 {{{
 $common_names = array_intersect( (array)$filtered_illegal_names,
 (array)$db_illegal_names );
 $diff_names = array_diff( (array)$filtered_illegal_names,
 (array)$db_illegal_names );
 }}}

 $filtered_illegal_names should be first argument.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2310#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list