[buddypress-trac] [BuddyPress] #4101: user_nicename being rewritten when BP_ENABLE_USERNAME_COMPATIBILITY_MODE is enabled and username has spaces

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Mar 29 01:46:34 UTC 2012


#4101: user_nicename being rewritten when BP_ENABLE_USERNAME_COMPATIBILITY_MODE is
enabled and username has spaces
--------------------------+--------------------------
 Reporter:  boonebgorges  |      Owner:  boonebgorges
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  1.6
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+--------------------------
 See #2642 and http://buddypress.org/community/groups/how-to-and-
 troubleshooting/forum/topic/profile-page-404-after-1-5-upgrade/.

 The same thing is arising when `BP_ENABLE_USERNAME_COMPATIBILITY_MODE` is
 set to true, according to the report in the support forum. Should be
 examined to see if we can recreate.

 At a glance, I'm not sure why in r3675 I opted to return the value
 untouched when `BP_ENABLE_USERNAME_COMPATIBILITY_MODE` is *false*. Seems
 like it should be the opposite, since when
 `BP_ENABLE_USERNAME_COMPATIBILITY_MODE` is false, a value with a space
 should never be passed to `bp_core_strip_username_spaces()`. But this
 needs more examination.

 Marking with a low priority, as it appears to be quite an edge case.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4101>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list