Christian Heimes added the comment:
I still think that sub string wildcard should not match the IDN "xn--" prefix.
With current code the rules "x*.example.de" gives a positive match for
"götter.example.de".
>>> u"götter.example.de".encode("idna")
'xn--gtter-jua.example.de'
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17980>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com