devise
devise copied to clipboard
Email validator accepts "abc@def"
Hi,
I've recently upgraded to devise 1.4.0 and noticed a failing test that "abc@def" now passes email format validation. I don't know if this is a bug or behaviour as designed, but I thought I'd post it here so that you know.
Regards, Kira
abc@def is a fine e-mail name because it may work inside local networks. Remember e-mail validation is not to ensure the e-mail is really valid (that is what confirmable is for) but simply to ensure the user didn't commit a mistake.