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 Petter S, christian.heimes, cstratak, larry, martin.panter, matrixise, ned.deily, push0ebp, vstinner, ware, xtreak
Date 2020-05-04.16:31:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588609872.51.0.088701813118.issue35907@roundup.psfhosted.org>
In-reply-to
Content
> We should whitelist the protocols. The current solution with `getattr` is really fragile. For example, this crashes with a `TypeError`: `URLopener().open("unknown_proxy://test")`

Would you mind to elaborate why do you consider that the solution is incomplete? Your issue doesn't show that Python is vulnerable. TypeError *is* the expected behavior.

Would you prefer another error message? If yes, please open a seperated issue.
History
Date User Action Args
2020-05-04 16:31:12vstinnersetrecipients: + vstinner, larry, christian.heimes, ned.deily, martin.panter, matrixise, cstratak, Petter S, xtreak, push0ebp, ware
2020-05-04 16:31:12vstinnersetmessageid: <1588609872.51.0.088701813118.issue35907@roundup.psfhosted.org>
2020-05-04 16:31:12vstinnerlinkissue35907 messages
2020-05-04 16:31:11vstinnercreate