Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#19625 closed defect (bug) (fixed)

Unable to view/edit profile if username contains space

Reported by: Master Jake Owned by:
Priority: normal Milestone: WordPress.org
Component: WordPress.org Site Version:
Severity: normal Keywords:
Cc: Focuses:

Description

I noticed when trying to edit my own wordpress.org profile that I just get a white screen of death. I'm not sure if this has been reported before or not (I ran a trac search but didn't find anything).

I can view my forum profile here fine:
​http://wordpress.org/support/profile/master-jake

The link from the trac to my profile works as well (without slugifying my name and replacing the space with a dash):
​http://profiles.wordpress.org/users/Master%20Jake

However if I click "edit" from that last page, I'm redirected to this page which is a white screen:
​http://profiles.wordpress.org/users/master-jake/profile/edit/

Change History (3)

#1 @SergeyBiryukov
15 years ago

  • Milestone Awaiting Review → WordPress.org

#2 @nacin
15 years ago

JJJ and I have finally had the chance to go through all of this.

BuddyPress used to use user_login in URLs, despite user_nicename being correct. We've now switched the profiles to use user_nicename, and we're redirecting any user_login cases to user_nicename.

Additionally, we've removed /users/. So, ​http://profiles.wordpress.org/users/$name/profile/edit/ will redirect to profiles.wordpress.org/$name. From there, /profile/edit/ will work.

#3 @nacin
15 years ago

  • Resolution → fixed
  • Status new → closed
Note: See TracTickets for help on using tickets.