Defect #5834

Emails with trailing spaces incorrectly detected as invalid

Added by Ryan Cross over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:2010-07-07
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Accounts / authentication
Target version:1.0.1 Estimated time:0.50 hour
Affected version:devel Resolution:Fixed

Description

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 (1.2 kB) Carin Meier, 2010-07-22 06:15

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

Associated revisions

Revision 3873
Added by Jean-Philippe Lang over 1 year ago

Strips user email (#5834).

History

Updated by Carin Meier over 1 year 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!)

Updated by Jean-Philippe Lang over 1 year 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