- From: Timothy Gu <notifications@github.com>
- Date: Sun, 18 Jul 2021 19:59:36 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 19 July 2021 02:59:49 UTC
What would you expect the scheme to be for a "URL" like 127.0.0.1? The URL Standard only deals with actual URL parsing as observed programmatically (think `new URL(…)` or `<a href="…">`), not the browser address bar (which automatically prepends `https:` or `http:` as needed). Also, if we have `<a href="…">` being served on a page https://example.com/, we would actually expect the resolved URL to be https://example.com/127.0.0.1. So the current spec appears to be correct. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/622#issuecomment-882194114
Received on Monday, 19 July 2021 02:59:49 UTC