[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
Tue Jun 1 02:07:24 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.5   
Component:  Core                                |   Resolution:          
 Keywords:  register,mysql error,illegal_names  |  
------------------------------------------------+---------------------------

Comment(by cnorris23):

 @aesqe
 You're right. I was looking strictly at syntax. Going through and actually
 testing the code shows that things aren't working correctly. I played
 around a little, but it looks like the best solution is to go back to the
 code pre-[2928], and then run $illegal_names through array_unique().
 However, I feel like I'm missing something, because this seems like an
 easier, and more obvious solution. Regardless, I've added a patch to add
 array_unique(). Can you test this?

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


More information about the buddypress-trac mailing list