- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 25 May 2018 07:23:33 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/url/pull/391/review/123389438@github.com>
annevk commented on this pull request. > @@ -272,6 +272,94 @@ for further processing. U+0020 SPACE, U+0023 (#), U+0025 (%), U+002F (/), U+003A (:), U+003F (?), U+0040 (@), U+005B ([), U+005C (\), or U+005D (]). +<p>A <a for=/>host</a>'s <dfn for=host export>public suffix</dfn> is the portion of a +<a for=/>host</a> which is controlled by a registrar, public or otherwise. To obtain Instead of "controlled by a registrar, public or otherwise" we could say "included on the Public Suffix List". This is boring, but factual and correct as I understand it. > @@ -272,6 +272,94 @@ for further processing. U+0020 SPACE, U+0023 (#), U+0025 (%), U+002F (/), U+003A (:), U+003F (?), U+0040 (@), U+005B ([), U+005C (\), or U+005D (]). +<p>A <a for=/>host</a>'s <dfn for=host export>public suffix</dfn> is the portion of a +<a for=/>host</a> which is controlled by a registrar, public or otherwise. To obtain +<var>host</var>'s <a for=host>public suffix</a>, run these steps: + +<ol> + <li><p>If <var>host</var> is not a <a>domain</a>, then return null. + + <li><p>Return the <a for=host>public suffix</a> obtained by executing the + <a href="https://publicsuffix.org/list/">algorithm</a> defined by the Public Suffix List on + <var>host</var>. [[!PSL]]. +</ol> + +<p>A <a for=/>host</a>'s <dfn for=host export>registrable domain</dfn> is a <a>domain</a> that could +be registered at a registry. To obtain <var>host</var>'s <a for=host>registrable domain</a>, run "is its public suffix including one domain label preceding its public suffix". Again, boring, but factual? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/391#pullrequestreview-123389438
Received on Friday, 25 May 2018 14:23:56 UTC