bpo-33433 Fix private address checking for IPv4 mapped IPv6. by JamoBox · Pull Request #26172 · python/cpython

@JamoBox

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 17, 2021
…H-26172)

For IPv4 mapped IPv6 addresses, defer privacy check to the mapped IPv4 address. Solves bug where public mapped IPv4 addresses are considered private by the IPv6 check.

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 83f0f8d)

Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>

miss-islington added a commit that referenced this pull request

May 17, 2021
For IPv4 mapped IPv6 addresses, defer privacy check to the mapped IPv4 address. Solves bug where public mapped IPv4 addresses are considered private by the IPv6 check.

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 83f0f8d)

Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>