[wp-trac] [WordPress Trac] #49417: Users with spaces in their username cannot since PHP 7.4.2
WordPress Trac
noreply at wordpress.org
Wed Feb 12 11:22:40 UTC 2020
#49417: Users with spaces in their username cannot since PHP 7.4.2
------------------------------------+-----------------------------
Reporter: calin | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49417>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list