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 christian.heimes
Recipients christian.heimes, jpic, martin.panter, matrixise, orsenthil, ronaldoussoren, sanebow, xtreak
Date 2019-09-09.16:04:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568045054.04.0.570734225186.issue36338@roundup.psfhosted.org>
In-reply-to
Content
The guidelines https://url.spec.whatwg.org/#host-parsing make a lot of sense to me. Python should refuse hostnames with "[" unless

* the hostname starts with "["
* the hostname ends with "]"
* the string between [] is a valid IPv6 address (full or shortened, without or with correctly quoted scope id)

Python should refuse any hostname with forbidden chars "\x00\n\r #%/:?@", too.
History
Date User Action Args
2019-09-09 16:04:14christian.heimessetrecipients: + christian.heimes, ronaldoussoren, orsenthil, martin.panter, matrixise, xtreak, sanebow, jpic
2019-09-09 16:04:14christian.heimessetmessageid: <1568045054.04.0.570734225186.issue36338@roundup.psfhosted.org>
2019-09-09 16:04:14christian.heimeslinkissue36338 messages
2019-09-09 16:04:13christian.heimescreate