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 palik
Recipients orsenthil, palik, vstinner, xtreak
Date 2021-04-17.10:45:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618656319.35.0.319323080195.issue43871@roundup.psfhosted.org>
In-reply-to
Content
Thank you for your swift response and your willingness to add port validation to _checknetloc.

I think the validation itself should compound both exceptional branches implemented in port[3]
* port is an int
* port is in the range

[3] https://github.com/python/cpython/blob/e1903e11a3d42512effe336026e0c67f602e5848/Lib/urllib/parse.py#L173-L178
History
Date User Action Args
2021-04-17 10:45:19paliksetrecipients: + palik, orsenthil, vstinner, xtreak
2021-04-17 10:45:19paliksetmessageid: <1618656319.35.0.319323080195.issue43871@roundup.psfhosted.org>
2021-04-17 10:45:19paliklinkissue43871 messages
2021-04-17 10:45:19palikcreate