[whatwg/url] Trailing dot and origin compuation (#132)

The current browser implementations consider `github.com.` and `github.com` different origins.

This is correct because RFC1034 specifies the later "relative domain" allow DNS to resolve it against search domains, and it is possible that `github.com` resolves to `github.com.corp.mycorp-inc.net.` on my corp network (while the browser would still showing me connected to `github.com`).

GitHub, in this case, will issue a 301 redirection if you attempt to access `https://github.com./`. Google does not do that, however.

I wonder if it is worthy to explicitly explain that in the URL spec?

---
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/132

Received on Monday, 11 July 2016 04:11:23 UTC