bpo-36338: urllib.urlparse rejects invalid IPv6 addresses by vstinner · Pull Request #16780 · python/cpython

corona10

tirkarthi

tirkarthi

@vstinner

* bpo-36338: The urllib.urlparse module now rejects invalid IPv6
  addresses and invalid port numbers when parsing an URL.
* bpo-33342: Fix urlparse() for IPv6 address with user:password when
  user and/or password contain "[" and/or "]" characters.

orsenthil

@sanebow sanebow mannequin mentioned this pull request

Apr 10, 2022