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

Re: Setting document.domain

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 28 Jan 2009 19:47:28 +0000 (UTC)
To: James Graham <jgraham@opera.com>
Cc: HTML WG <public-html@w3.org>, contact@publicsuffix.org
Message-ID: <Pine.LNX.4.62.0901281945480.952@hixie.dreamhostps.com>

On Wed, 28 Jan 2009, James Graham wrote:
> I think the remaining issue is that it is not clear what it means to 
> "match a suffix in the public suffix list". The public suffix list 
> itself does not define this but only has vauge notes about the expected 
> format; there seem to be implied rules like given an entry a.b Setting 
> document.domain to b should fail, even if b is not listed explicitly.

The spec covers that case: "or, if new value, prefixed by a U+002E FULL 
STOP ("."), matches the end of a suffix in the Public Suffix List".

> 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.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 28 January 2009 19:48:04 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:41 UTC