This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27266 - Deal with domain names and trailing dots
Summary: Deal with domain names and trailing dots
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 09:57 UTC by Anne
Modified: 2015-08-19 09:22 UTC (History)
2 users (show)

See Also:


Attachments

Description Anne 2014-11-07 09:57:48 UTC
Need to consider:

- https://bugzilla.mozilla.org/show_bug.cgi?id=774769
- Certificate comparison
- Origin comparison

Also considering a URLHost object to expose all things IP addresses and domain names.
Comment 1 Anne 2015-08-16 07:26:44 UTC
As far as I can tell the conclusion here is to define host equivalence as serializing hosts and comparing them.

When it comes to domains (and maybe IPv6?) the trailing dot can be ignored only when it comes to certificates, because they are required to contain fully qualified domain names...

It's a bit unclear how much of the domain terminology we want to define here.
Comment 2 Anne 2015-08-19 09:22:30 UTC
https://github.com/whatwg/url/commit/5e903fee4b9a893c8236cf292a0d56a7254ee823

Per discussion in https://github.com/whatwg/url/issues/63 the URLHost concept is canned. It's probably not needed.

The remark about IPv6 in the previous comment should be ignored.