]> git.ipfire.org Git - thirdparty/dnspython.git/commit
If there are no non-ASCII codepoints in the input, treat the name as
authorBob Halley <halley@dnspython.org>
Sun, 6 Jan 2019 21:22:25 +0000 (13:22 -0800)
committerBob Halley <halley@dnspython.org>
Sun, 6 Jan 2019 21:22:25 +0000 (13:22 -0800)
commitdda972af4c15baf963e42c2869b1114a5cf5e31f
tree3945c8ac71874417b050dd6d90397baa7aa67b70
parentc76aa6ac9969447220c8e807aa1e5640a6c12924
If there are no non-ASCII codepoints in the input, treat the name as
an ordinary domain name in from_text and do NOT apply any IDNA.

This makes non-Unicode binary names like
\150\151\152\153\154\155\156\157\158\159. work properly again.
[Issue #270]
dns/name.py
tests/test_name.py