Re: Setting document.domain

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