[buddypress-trac] [BuddyPress Trac] #6389: buddypress doesn’t support chinese login name

buddypress-trac noreply at wordpress.org
Wed Apr 22 14:07:13 UTC 2015


#6389: buddypress doesn’t support chinese login name
---------------------------------+----------------------------------
 Reporter:  wenlujon             |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Under Consideration
Component:  API - Rewrite Rules  |     Version:  2.2.1
 Severity:  major                |  Resolution:
 Keywords:  chinese login name   |
---------------------------------+----------------------------------
Changes (by wenlujon):

 * keywords:  chinese login name reporter-feedback => chinese login name


Comment:

 Replying to [comment:5 boonebgorges]:
 > Thanks for your help with this so far, wenlujon.
 >
 > It's worth noting that, if you're using WordPress Multisite (as you
 appear to be, given your changes in ms-functions.php), the restrictions on
 login characters come from WordPress and not from BuddyPress. See
 https://core.trac.wordpress.org/ticket/17904. BP uses WP's user system,
 and it's unlikely that we would make username requirements less strict
 that WP does in the case of multisite.
 >
 > That being said, it's likely that in the case of non-MS, we are being
 overzealous about sanitization of user_login and especially user_nicename
 in various places. Our testing should be focused on non-MS.


 yes, i'm using MS. and i feel comfortable to tweak the sanitize_username
 so that Chinese username can be supported (majority of users here like to
 login in through Chinese name).

 I can login in with the chinese username and even post in the forum.

 however, i encounter 2 problems afterwards:
 1. can't access the user profile through buddypress anymore (the link is
 redirected as illustrated in the description.
 2. can't mention the user through AT[chinese login name] since no link is
 created.

 are you saying it won't be a problem if i use single site? anyway, i also
 need MP (one for the blog and another for the forum, i need to manage them
 separately but share users).

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6389#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list