From 44b13a6b4b1b2a1d4a3ff44cf377477fadc41dce Mon Sep 17 00:00:00 2001 From: kimbo Date: Fri, 26 Jul 2019 23:23:55 -0400 Subject: [PATCH] allow alternate dots for root in dns.name.from_unicode --- dns/name.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/name.py b/dns/name.py index c580f5f8..0d45ac17 100644 --- a/dns/name.py +++ b/dns/name.py @@ -818,7 +818,7 @@ def from_unicode(text, origin=root, idna_codec=None): if text == '@': text = '' if text: - if text == '.': + if text in ['.', '\u3002', '\uff0e', '\uff61']: return Name([b'']) # no Unicode "u" on this constant! for c in text: if escaping: -- 2.47.3