Authlogic allows invalid emails (addresses with non ascii chars) #176

Closed
ahawkins opened this Issue Sep 10, 2010 · 3 comments

Comments

Projects
None yet
3 participants

The Authlogic::Regex.email allows 'tom.grundström@avaus.fi' as a valid email.

Contributor

rchekaluk commented Sep 16, 2014

Cannot reproduce this.

However, apparently there is some activity to permit non-ascii characters in email addresses:

Contributor

nathany commented Sep 16, 2014

There's even new top level domains like .みんな that are perfectly valid for email addresses.

@nathany nathany closed this Sep 17, 2014

Contributor

nathany commented Sep 17, 2014

If the defaults don't suite you, you can always disable Authlogic's validation and do your own:

acts_as_authentic do |c|
  c.validate_email_field = false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment