[wp-trac] [WordPress Trac] #38744: Can't login with email address that contains an apostrophe

WordPress Trac noreply at wordpress.org
Thu Nov 10 11:56:40 UTC 2016


#38744: Can't login with email address that contains an apostrophe
--------------------------+-----------------------------
 Reporter:  wpkuf         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.6.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 * Test case :

 1. Create a user with email address that contains an apostrophe. For
 example you can create this user from the Dashboard. Example :
 testemailaddress'@testme.com
 2. Try to login submitting this email address and valid password on /wp-
 login.php page.

 === Expected result ===
  User is logged in

 === Actual result ===
  User isn't logged in. Error `invalid_username`

 If WordPress allows to create user with such email, then it should also
 allow to login with it. It seems to be correct.

 So the question is to allow to login with similar emails or restrict them
 at all.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38744>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list