mff-uk / odcs

ODCleanStore
1 stars 11 forks source link

Email address format and validation #1245

Closed ghost closed 10 years ago

ghost commented 10 years ago

The current limits on the email address are out-of-reality. The maximum length of user account name (the part before @) is 85 and the domain name must be at most 45 chars long. Rework this with respect to http://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address http://isemail.info/about

Probably use this: http://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/EmailValidator.html

And redesign table to hold only email address string (256). There is no use of domain and user section separately in the project. Only toString is used, which is defacto the email address string.

ghost commented 10 years ago

Resolved in #1298