• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

substancelab / activemodel-email_address_validator / 68
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/add-v2-config-file
DEFAULT BRANCH: master
Ran 02 Aug 2019 09:10AM UTC
Jobs 4
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
68

push

travis-ci

koppen
Clarify support for UTF-8 characters in email addresses

First of all, we already validate those as valid, so this is just a codification
of that expectation.

Second of all, it is a valid email address - at least according to RFC6532
<https://tools.ietf.org/html/rfc6532>. It still needs to be encoded properly
before actually being delivered. The Mail gem added support for this in v2.7.0:
https://github.com/mikel/mail/pull/1103.

That said, actually finding services that support this is still hard (in 2019).
Neither Gmail nor Hotmail supports this for their own local accounts, but can
send to email addresses with non-US ASCII characters. Exim has added
experimental support, it seems (https://bugs.exim.org/show_bug.cgi?id=1516).

Firefox, Chrome, and Safari rejects email addresses with non-US ASCII characters
when validating email fields. Mailguns email validation API says the address is
invalid (or rather it gives `"result": "unknown", `).

Regardless of the lack of widespread support we allow these addresses because
the guiding principle is:

> Don't reject a valid email address realistically in use by a potential user.
> Err on the side of accepting too much.

An email address with non-US ASCII characters can realistically be in use by a
potential user, even though the major international players doesn't support
that.

115 of 115 relevant lines covered (100.0%)

17.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 68.1 (2.2.10) 02 Aug 2019 09:10AM UTC 0
100.0
Travis Job 68.1
2 68.2 (2.3.8) 02 Aug 2019 09:10AM UTC 0
100.0
Travis Job 68.2
3 68.3 (2.4.5) 02 Aug 2019 09:10AM UTC 0
100.0
Travis Job 68.3
5 68.5 (2.6.0) 02 Aug 2019 09:12AM UTC 0
100.0
Travis Job 68.5
Source Files on build 68
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #68
  • ad1dd4ec on github
  • Next Build on umlaut (#77)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc