4 ms·
The proposal talks about sites resolving to private/local addresses, so presumably, the browser would still apply the checks to all requests to that domain. Th
by xg15 6y ago
The proposal talks about sites resolving to private/local addresses, so presumably, the browser would still apply the checks to all requests to that domain.
The only thing that would not trigger CORS is if you somehow loaded a top-level document from that domain. (The address is in the browser's address bar) - however, a malicious website can't do that as this server is not under their control.
- mikewest 6y agoCorrect. https://wicg.github.io/cors-rfc1918/#dns-rebinding https://wicg.github.io/cors-rfc1918/#dns-rebinding describes this reasoning.