|author||Marc-Antoine Ruel <firstname.lastname@example.org>||Thu Apr 18 14:10:15 2019|
|committer||Commit Bot <email@example.com>||Thu Apr 18 14:10:15 2019|
[client] Change idna stub to use python's default Fix a regression from 690b8ae29be2ca3b4782fa6ad0e7f2454443c38d which broke select bots running inside docker. The new stub is still simpler than https://pypi.org/project/idna/ and lighter weight but much better than ignoring the "xn-" encoding as this was done previously. As per the project home page: This acts as a suitable replacement for the “encodings.idna” module that comes with the Python standard library, but only supports the old, deprecated IDNA specification (RFC 3490). In practice, we don't expect to use non-ASCII hostnames, so it's not a big deal for us. decode() is required by openssl/x509.py. TBRfirstname.lastname@example.org Bug: 916644 Change-Id: Ia999a56b981d943e2f3d942f83e40d40e1bb805b Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/1573244 Reviewed-by: Marc-Antoine Ruel <email@example.com> Commit-Queue: Marc-Antoine Ruel <firstname.lastname@example.org> Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py Cr-Mirrored-Commit: bdc0466c63347280fbd8bc8c30fb07f294200194
To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.
This project is licensed under Apache v2.0 license. See LICENSE for details.