Project

General

Profile

Actions

Defect #5834

closed

Emails with trailing spaces incorrectly detected as invalid

Added by Ryan Cross over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
Start date:
2010-07-07
Due date:
% Done:

0%

Estimated time:
0.50 h
Resolution:
Fixed
Affected version:

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.


Files

Actions #1

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

Actions #2

Updated by Jean-Philippe Lang over 14 years ago

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

Fixed in r3873.

Actions

Also available in: Atom PDF