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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/add-v2-config-file
DEFAULT BRANCH: master
Ran 02 Aug 2019 09:12AM UTC
Jobs 4
Files 4
Run time 18min
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
69

Pull #11

travis-ci

web-flow
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.
Pull Request #11: Clarify support for UTF-8 characters in email addresses

2 of 2 new or added lines in 1 file covered. (100.0%)

115 of 115 relevant lines covered (100.0%)

17.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 69.1 (2.2.10) 02 Aug 2019 09:30AM UTC 0
100.0
Travis Job 69.1
2 69.2 (2.3.8) 02 Aug 2019 09:30AM UTC 0
100.0
Travis Job 69.2
3 69.3 (2.4.5) 02 Aug 2019 09:30AM UTC 0
100.0
Travis Job 69.3
5 69.5 (2.6.0) 02 Aug 2019 09:30AM UTC 0
100.0
Travis Job 69.5
Source Files on build 69
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #69
  • Pull Request #11
  • PR Base - master (#54)
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