[wp-trac] [WordPress Trac] #21537: Email address sanitisation mangles valid email addresses

WordPress Trac noreply at wordpress.org
Thu Nov 7 13:04:50 UTC 2013


#21537: Email address sanitisation mangles valid email addresses
-------------------------------------+------------------------------
 Reporter:  westi                    |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.4.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+------------------------------

Comment (by feedmeastraycat):

 This is also affected when you register a new user with & in the e-mail.
 Registering a user with "foo&bar at example.com" is registered in the
 database as "foo&bar at example.com" thus failing a test on
 `email_exists( 'foo&bar at example.com' )` (which returns false) and
 `get_user_by( 'email', 'foo&bar at example.com' )` (which also returns
 false).

--
Ticket URL: <http://core.trac.wordpress.org/ticket/21537#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list