[wp-trac] [WordPress Trac] #34889: wp_check_password() and issue with trailing space
WordPress Trac
noreply at wordpress.org
Sun Dec 6 21:57:23 UTC 2015
#34889: wp_check_password() and issue with trailing space
------------------------------------+-----------------------------
Reporter: jperlman | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.1.1
Severity: normal | Keywords:
Focuses: administration |
------------------------------------+-----------------------------
I have users logging in via wp-login.php and then filling out a custom
form with the last field entered being their WordPress password.
One specific user can login fine to wp-login.php but when she enters
information on the form and her WordPress password, validation fails on
wp_check_password().
I realized that her password contains a space at the end.
By creating a brand new user and ensuring it contains a space the bug is
evident with the test script I've uploaded.
The version of the production site at the moment is 4.1.1 of where I first
saw the bug, but I can reproduce this issue on a brand new WordPress
install of 4.3.1 and from the github version currently at 4.5-alpha-35794.
Looks like it's related to but different than ticket
https://core.trac.wordpress.org/ticket/23494
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34889>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list