This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, prudvinit, visionwun, xtreak
Date 2018-08-28.13:42:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535463754.11.0.56676864532.issue34516@psf.upfronthosting.co.za>
In-reply-to
Content
This sounds like a duplicate of Issue 28539. My understanding of that report is that Urllib3 half parses the URL by splitting out the port number, but returns a hostname with square brackets intact. Requests then passes the hostname (string with brackets) and port number (integer) to Python’s HTTPConnection constructor.

I think this is a bug in how Requests or “urllib3” is using Python’s HTTPConnection class. Requests should either leave the port number with the hostname in the string, or extract the raw hostname by removing the brackets.
History
Date User Action Args
2018-08-28 13:42:34martin.pantersetrecipients: + martin.panter, xtreak, prudvinit, visionwun
2018-08-28 13:42:34martin.pantersetmessageid: <1535463754.11.0.56676864532.issue34516@psf.upfronthosting.co.za>
2018-08-28 13:42:34martin.panterlinkissue34516 messages
2018-08-28 13:42:33martin.pantercreate