Defect #5834

Emails with trailing spaces incorrectly detected as invalid

Added by Ryan Cross about 12 years ago. Updated about 12 years ago.

Status:ClosedStart date:2010-07-07
Priority:NormalDue date:
Assignee:-% Done:


Category:Accounts / authenticationEstimated time:0.50 hour
Target version:1.0.1
Resolution:Fixed Affected version:


currently using 0.9.5.stable.3830

I originally thought this was a problem with email addresses with a "." in them, where the validation incorrectly identifies this as an invalid email address. (I think this was the problem in 0.9.3, but I have since updated)

Email addresses with a trailing space(s) are being flagged as invalid. I think it would be better to simply trim any extra space from the input field before validating/saving.

0002-Defect-5834-remove-trailing-whitespace-from-mail-bef.patch Magnifier (1.24 KB) Carin Meier, 2010-07-22 06:15

0001-Defect-5834-remove-trailing-whitespace-from-mail-bef.patch Magnifier (904 Bytes) Carin Meier, 2010-07-22 06:15

Associated revisions

Revision 3873
Added by Jean-Philippe Lang about 12 years ago

Strips user email (#5834).


#1 Updated by Carin Meier about 12 years ago

I have added patches to strip the trailing spaces from the mail before validation and save.

(This is my first contribution - so please let me know if I am missing anything - Thanks!)

#2 Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from Resolved to Closed
  • Target version set to 1.0.1
  • Resolution set to Fixed

Fixed in r3873.

Also available in: Atom PDF