[whatwg/fetch] Prevent fetching from IPv4-mapped IPv6 addresses (Issue #1492)

Quoting my distinguished self from https://github.com/WICG/private-network-access/issues/36:

> Dual stack applications such as modern browsers should never have to deal with IPv4-mapped IPv6 addresses (https://tools.ietf.org/html/rfc4291#section-2.5.5), as they can simply use IPv4 addresses instead. This is not the case today however, at least in Chromium, in which for example `[::ffff:7f00:1]` resolves to localhost.

It seems to me that Fetch should forbid accesses to such IP addresses. What do y'all think?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1492
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1492@github.com>

Received on Thursday, 22 September 2022 12:20:06 UTC