W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: Setting document.domain

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 29 Jan 2009 06:58:23 +0000 (UTC)
To: Gervase Markham <gerv@mozilla.org>
Cc: Adam Barth <w3c@adambarth.com>, James Graham <jgraham@opera.com>, HTML WG <public-html@w3.org>, contact@publicsuffix.org
Message-ID: <Pine.LNX.4.62.0901290656530.952@hixie.dreamhostps.com>

On Thu, 29 Jan 2009, Gervase Markham wrote:
> > 
> > Does 2 also include cases like "uk"? For HTML5's document.domain, I 
> > need that case as well.
> 
> Yes. "uk" is a public suffix, "co.uk" is also a public suffix. So if 
> your candidate domain was "uk", you would get outcome 2, just like 
> "co.uk".

Ah, ok. It isn't clear in the /format/ page that the wildcard also stands 
for nothing. The list contains *.uk but doesn't contain uk; it isn't clear 
that *.uk is intended to include just uk.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 29 January 2009 06:58:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:00 UTC