I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Feature #2170

Optional email format validation

Added by Romain Schmitz about 11 years ago. Updated over 10 years ago.

Status:
Open
Priority:
Minor
Assignee:
Target version:
-
Start date:
10 Mar 2013
Due date:
% Done:

0%

External issue:

Description

By reading some more code I’ve just seen another thing that could be optimized. In the email model you’re checking the address format. There are good reasons to give the user the freedom to disable the format validation. The rfc of email addresses with all its errata documents makes it slightly difficult to pass every valid email address.

Depending on where your plugin is used, it must be guaranteed that every valid email is accepted.

There are good replies in the stackoverflow thread Using a regular expression to validate an email address.

History

#1 Updated by Andriy Lesyuk over 10 years ago

  • Status changed from New to Open
  • Assignee set to Andriy Lesyuk
  • Priority changed from Normal to Minor

Also available in: Atom PDF

Terms of use | Privacy policy