Administrators may copy an email address from an external source to paste in to the create account screen and may inadvertently include a space on either side of the copied string. Both form validation and later on when the string gets saved in user.module, we should be trimming the user-entered content.

This bug exists in 5.x, 6.x, and CVS head.

CommentFileSizeAuthor
user.patch1018 bytessteve.colson

Comments

Status: Needs review » Needs work

The last submitted patch failed testing.

catch’s picture

Status: Needs work » Closed (duplicate)

Thanks for submitting this, the issue is already being worked on over at #67769: Add trim to all text field submissions. I'm going to close this issue as a duplicate, hopefully see you over there.