Re: Setting document.domain

On Wed, 28 Jan 2009, Adam Barth wrote:
> On Wed, Jan 28, 2009 at 11:47 AM, Ian Hickson <ian@hixie.ch> wrote:
> > On Wed, 28 Jan 2009, James Graham wrote:
> >> I think the algorithm for determining if a domain is in the public
> >> suffix list should be specified in detail somewhere, although I guess
> >> HTML 5 is likely not quite the right place since this may be used in
> >> non-HTML contexts.
> >
> > I agree that it would be nice if there was some text on 
> > publicsuffix.org that gave some normative-like text I could hook into 
> > here.
> 
> I'm not sure if such an algorithm exists.  The list of 
> registry-controlled domains is some social artifact that changes 
> depending on decisions made by registrars in small island countries and 
> provinces in Japan.

Sure, but such decisions cause the publicsuffix.org list to change. My 
point is that there is a list, but it is not in a form that is trivial to 
process (e.g. it has wildcards), so whether something "matches a suffix in 
the public suffix list" is not something that is normatively defined yet.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 29 January 2009 00:56:19 UTC