{"action":"created","issue":{"url":"https://api.github.com/repos/plataformatec/devise/issues/3997","repository_url":"https://api.github.com/repos/plataformatec/devise","labels_url":"https://api.github.com/repos/plataformatec/devise/issues/3997/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/devise/issues/3997/comments","events_url":"https://api.github.com/repos/plataformatec/devise/issues/3997/events","html_url":"https://github.com/plataformatec/devise/issues/3997","id":141716840,"number":3997,"title":"Devise::email_regexp rejects unusual but valid email","user":{"login":"kimgb","id":2672955,"avatar_url":"https://avatars.githubusercontent.com/u/2672955?v=3","gravatar_id":"","url":"https://api.github.com/users/kimgb","html_url":"https://github.com/kimgb","followers_url":"https://api.github.com/users/kimgb/followers","following_url":"https://api.github.com/users/kimgb/following{/other_user}","gists_url":"https://api.github.com/users/kimgb/gists{/gist_id}","starred_url":"https://api.github.com/users/kimgb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimgb/subscriptions","organizations_url":"https://api.github.com/users/kimgb/orgs","repos_url":"https://api.github.com/users/kimgb/repos","events_url":"https://api.github.com/users/kimgb/events{/privacy}","received_events_url":"https://api.github.com/users/kimgb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-17T21:53:28Z","updated_at":"2016-03-18T05:32:16Z","closed_at":null,"body":"    \"example@tt\" =~ Devise.email_regexp\r\n    # => nil\r\n\r\nCompare to: http://isemail.info/example%40tt\r\n\r\nI figure the intent of the `Devise::email_regexp` is to conduct _minimal_ validation, and it should \"first do no harm\". Note the above `@tt` address is an example of a TLD that [does, in fact, have MX records on it](http://serverfault.com/questions/721927/can-you-have-an-email-address-with-only-the-top-level-domain-as-the-domain-part). Dominic Sayers on isemail.info also [reports encountering an in-use email on the Ukrainian `@ua` TLD](http://isemail.info/#comment-294596693).\r\n\r\nDo I misunderstand the spec of the Devise default behaviour here?"},"comment":{"url":"https://api.github.com/repos/plataformatec/devise/issues/comments/198215394","html_url":"https://github.com/plataformatec/devise/issues/3997#issuecomment-198215394","issue_url":"https://api.github.com/repos/plataformatec/devise/issues/3997","id":198215394,"user":{"login":"kimgb","id":2672955,"avatar_url":"https://avatars.githubusercontent.com/u/2672955?v=3","gravatar_id":"","url":"https://api.github.com/users/kimgb","html_url":"https://github.com/kimgb","followers_url":"https://api.github.com/users/kimgb/followers","following_url":"https://api.github.com/users/kimgb/following{/other_user}","gists_url":"https://api.github.com/users/kimgb/gists{/gist_id}","starred_url":"https://api.github.com/users/kimgb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimgb/subscriptions","organizations_url":"https://api.github.com/users/kimgb/orgs","repos_url":"https://api.github.com/users/kimgb/repos","events_url":"https://api.github.com/users/kimgb/events{/privacy}","received_events_url":"https://api.github.com/users/kimgb/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T05:32:16Z","updated_at":"2016-03-18T05:32:16Z","body":"Will do"}}