Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#49417 closed defect (bug) (duplicate)

Users with spaces in their username cannot since PHP 7.4.2

Reported by: calin's profile calin Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords:
Focuses: Cc:


PHP 7.4.2 has this patch applied so it won't convert + (plus sign) in cookies to spaces anymore.

Users with spaces in their username, will get a cookie like wordpress_logged_in_b47606082058ec222999b86235b9c61d=with+spaces|15816.. and WordPress will do a database search for with+spaces username instead of with spaces. This results in the user not being able to log in.

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome back to WordPress Trac!

Thanks for the report, we're already tracking this issue in #49395.

Note: See TracTickets for help on using tickets.