On Sun, Jul 21, 2019 at 08:48:49AM +0100, Barry Scott wrote: > I took at very quick look at bpo30500 and was struck by the comment > that the code was working on a URL that had not been validated. > > Validation of the URL would reject the URL before the parsing happens > in this case. Was that the case?
Sorry, can you elaborate on that? How do you validate a URL without attempting to parse it? You're surely not talking about looking it up in a whitelist are you? Thanks, -- Steven _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/BTACAKW4W57NZNO72IRLCQHFYDX4YSX3/ Code of Conduct: http://python.org/psf/codeofconduct/