[issue17997] ssl.match_hostname(): sub string wildcard should not match IDNA prefix
Antoine Pitrou
report at bugs.python.org
Sat May 18 18:02:30 CEST 2013
Antoine Pitrou added the comment:
> It's called "internationalized domain name for APPLICATIONS". ;) It's
> up to the application to interpret the ASCII text as IDNA encoded
> FQDNs. As far as I know DNS, SSL's CNAME and OS interfaces etc. always
> use ASCII labels. It's an elegant solution. Just the UI part of an
> application needs to understand IDNA.
The socket module already decodes to/encodes from IDNA in places (e.g. gethostname()). We need a consistent policy in the stdlib; I would like Martin's advice on this.
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17997>
_______________________________________
More information about the Python-bugs-list
mailing list