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

Re: Setting document.domain

From: Gervase Markham <gerv@mozilla.org>
Date: Thu, 29 Jan 2009 11:54:36 +1100
Message-ID: <4980FE4C.4030506@mozilla.org>
To: James Graham <jgraham@opera.com>
CC: Ian Hickson <ian@hixie.ch>, HTML WG <public-html@w3.org>, contact@publicsuffix.org

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.

It's not as well-linked as it should be, but the definition of the list
format is here:
http://publicsuffix.org/format/

If this language is insufficiently normative, perhaps someone with
experience or writing speccy normative language might like to revise it.
This may well expose ambiguities.

Code in Mozilla parses the list and makes a comparison of a domain with
the list, I would hope according to the rules given at the above URL,
and returns true or false as appropriate.

[Note that I am currently not a subscriber to public-html@w3.org or any
WHAT-WG list.]

Gerv
Received on Thursday, 29 January 2009 00:55:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:28 GMT