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

certbot / certbot / 5778
99%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2016 11:21PM UTC
Jobs 1
Files 145
Run time 22s
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
5778

push

travis-ci

bmw
Fix non-ASCII domain check. (#3727)

* Fix non-ASCII domain check.

Previously, the code would convert to utf-8, check for non-ASCII, and then try
to use .format() to interpolate the result into an error message. This would
generate a second error that would cause the whole message to get dropped, and
the program to silently exit. The problem can be succinctly observed like so:

$ python
>>> "{0}".format("ウェブ.crud.net")
'\xe3\x82\xa6\xe3\x82\xa7\xe3\x83\x96.crud.net'
>>> "{0}".format(u"ウェブ.crud.net")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

Note for the curious: This problem only seems to happen with .format():

>>> "%s" % ("ウェブ.crud.net")
'\xe3\x82\xa6\xe3\x82\xa7\xe3\x83\x96.crud.net'
>>> "%s" % (u"ウェブ.crud.net")
u'\u30a6\u30a7\u30d6.crud.net'

16366 of 16569 relevant lines covered (98.77%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5778.1 (TOXENV=cover BOULDER_INTEGRATION=1) 02 Nov 2016 11:21PM UTC 0
98.77
Travis Job 5778.1
Source Files on build 5778
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5778
  • db4c8885 on github
  • Prev Build on master (#5763)
  • Next Build on master (#5785)
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