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 vstinner
Recipients christian.heimes, jpic, martin.panter, matrixise, orsenthil, ronaldoussoren, sanebow, vstinner, xtreak
Date 2019-09-10.07:58:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568102282.3.0.285325776989.issue36338@roundup.psfhosted.org>
In-reply-to
Content
To be clear, the \ in 'http://benign.com\[attacker.com]' is not needed to reproduce the bug:

vstinner@apu$ python3 
Python 3.7.4 (default, Jul  9 2019, 16:32:37) 
>>> from urllib.parse import urlparse; print(urlparse('http://demo.com[attacker.com]').hostname)
attacker.com
History
Date User Action Args
2019-09-10 07:58:02vstinnersetrecipients: + vstinner, ronaldoussoren, orsenthil, christian.heimes, martin.panter, matrixise, xtreak, sanebow, jpic
2019-09-10 07:58:02vstinnersetmessageid: <1568102282.3.0.285325776989.issue36338@roundup.psfhosted.org>
2019-09-10 07:58:02vstinnerlinkissue36338 messages
2019-09-10 07:58:02vstinnercreate