[issue32958] socket module calls with long host names can fail with idna codec error

Gregory P. Smith report at bugs.python.org
Mon Jan 24 19:36:47 EST 2022


Gregory P. Smith <greg at krypto.org> added the comment:

ablack: the basic auth username:password@ part of the string is not part of a hostname.  What code are you seeing that is trying to send that to a name resolver rather than stripping the obviously private info up through the @ sign?

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32958>
_______________________________________


More information about the Python-bugs-list mailing list