If users are copy/pasting email addresses in to registration forms, they often end up with spaces on either side that they're not aware of.

We should be smart enough to handle that for them.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ian Clysdale’s picture

This patch simply trims the email address before validating or using it.

nerdcore’s picture

Status: Active » Needs review
caxy4’s picture

Status: Needs review » Closed (fixed)

Great patch @Ian Clysdale - I've applied it to 7.x-1.x-dev and it will be in the 7.x-1.4 release.