Make WordPress Core

Opened 5 months ago

Closed 5 months ago

#49417 closed defect (bug) (duplicate)

Users with spaces in their username cannot since PHP 7.4.2

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


PHP 7.4.2 has this patch applied https://bugs.php.net/bug.php?id=78929 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
5 months 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.