New submission from Thomas Hobson <tho...@hexf.me>:
Not entirely sure if this is intended. When using urllib.request.urlopen, with a hostname and a varying port the SNI information sent differs. To my undersnding, the SNI info shouldn't include the port and should only include the actual host. Attached is an example script demonstrating the issue, where the only difference between the URLs is adding a port number. The server it points to is configured to only match "ci.hexf.me". ---------- assignee: christian.heimes components: SSL files: test.py messages: 403586 nosy: christian.heimes, hexf priority: normal severity: normal status: open title: SSL SNI varies when host contains port number type: behavior versions: Python 3.10, Python 3.9 Added file: https://bugs.python.org/file50338/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com