Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(845)

Issue 6873056: code review 6873056: exp/publicsuffix: new package. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by nigeltao
Modified:
11 years, 3 months ago
CC:
golang-dev
Visibility:
Public.

Description

exp/publicsuffix: new package. The tables were generated by: go run gen.go -version "publicsuffix.org's effective_tld_names.dat, hg revision 05b11a8d1ace (2012-11-09)" >table.go go run gen.go -version "publicsuffix.org's effective_tld_names.dat, hg revision 05b11a8d1ace (2012-11-09)" -test >table_test.go The input data is temporarily filtered to the .ao, .ar, .arpa, .uk and .zw domains, so that code review is easier while still covering the interesting * and ! rules. A follow-up changelist will check in the unfiltered public suffix list. Update issue 1960.

Patch Set 1 #

Patch Set 2 : diff -r 751e8610bd5d https://code.google.com/p/go #

Patch Set 3 : diff -r 751e8610bd5d https://code.google.com/p/go #

Patch Set 4 : diff -r 751e8610bd5d https://code.google.com/p/go #

Patch Set 5 : diff -r 751e8610bd5d https://code.google.com/p/go #

Patch Set 6 : diff -r 751e8610bd5d https://code.google.com/p/go #

Total comments: 16
Unified diffs Side-by-side diffs Delta from patch set Stats (+788 lines, -0 lines) Patch
A src/pkg/exp/publicsuffix/gen.go View 1 2 3 4 1 chunk +336 lines, -0 lines 11 comments Download
A src/pkg/exp/publicsuffix/list.go View 1 2 3 4 5 1 chunk +92 lines, -0 lines 2 comments Download
A src/pkg/exp/publicsuffix/list_test.go View 1 1 chunk +243 lines, -0 lines 3 comments Download
A src/pkg/exp/publicsuffix/table.go View 1 1 chunk +74 lines, -0 lines 0 comments Download
A src/pkg/exp/publicsuffix/table_test.go View 1 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 23
nigeltao
Hello rsc@golang.org, dr.volker.dobler@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 4 months ago (2012-12-05 00:47:08 UTC) #1
volker.dobler
Just two remarks from a quick skim: nodes is an array? Would the GC have ...
11 years, 4 months ago (2012-12-05 07:12:22 UTC) #2
volker.dobler
Current code breaks for the jp rules like *.kobe.jp which should match kobe.jp. But the ...
11 years, 4 months ago (2012-12-05 13:41:55 UTC) #3
nigeltao
Just an idea: it could live in the go.net subrepo. Punycode could also live there, ...
11 years, 4 months ago (2012-12-06 06:18:11 UTC) #4
rsc
I can't believe I'm saying this but what does IE do?
11 years, 4 months ago (2012-12-06 06:18:40 UTC) #5
adg
What are the security implications of the suffix list updates? If the list is checked ...
11 years, 4 months ago (2012-12-06 06:19:52 UTC) #6
nigeltao
On Thu, Dec 6, 2012 at 2:53 PM, Russ Cox <rsc@golang.org> wrote: > Although I ...
11 years, 4 months ago (2012-12-06 06:28:20 UTC) #7
nigeltao
On Wed, Dec 5, 2012 at 6:12 PM, <dr.volker.dobler@gmail.com> wrote: > nodes is an array? ...
11 years, 4 months ago (2012-12-06 06:35:35 UTC) #8
rsc
We shouldn't check in the raw data file, even gzipped. Nothing but the table generator ...
11 years, 4 months ago (2012-12-06 06:37:43 UTC) #9
rsc
I don't want to move cookiejar code to go.net. I think it's embarrassing that we ...
11 years, 4 months ago (2012-12-06 06:39:07 UTC) #10
bradfitz
On Tue, Dec 4, 2012 at 9:37 PM, Russ Cox <rsc@golang.org> wrote: > We shouldn't ...
11 years, 4 months ago (2012-12-06 06:46:25 UTC) #11
r
This thread is about where and how to make this data accessible to Go programs. ...
11 years, 4 months ago (2012-12-06 06:52:33 UTC) #12
bradfitz
The Marianas trench rebuttal is unwarranted: we've never required a network connection to run all.bash ...
11 years, 4 months ago (2012-12-06 06:54:57 UTC) #13
dsymonds
I'm thinking this package and cookiejar should just move to go.net right now, and we ...
11 years, 4 months ago (2012-12-06 06:59:05 UTC) #14
bradfitz
On Tue, Dec 4, 2012 at 10:03 PM, Rob Pike <r@golang.org> wrote: > This thread ...
11 years, 4 months ago (2012-12-06 07:10:38 UTC) #15
r
This thread is about where and how to make this data accessible to Go programs. ...
11 years, 4 months ago (2012-12-06 07:14:37 UTC) #16
fw
> The input data is temporarily filtered to the .ao, .ar, .arpa, .uk and > ...
11 years, 4 months ago (2012-12-06 07:21:33 UTC) #17
dsymonds
Yeah, I thought tables.go was the only thing being considered for checking in.
11 years, 4 months ago (2012-12-06 07:25:41 UTC) #18
fw
* Russ Cox: > I can't believe I'm saying this but what does IE do? ...
11 years, 4 months ago (2012-12-06 08:36:22 UTC) #19
Ryan Sleevi
https://codereview.appspot.com/6873056/diff/12001/src/pkg/exp/publicsuffix/gen.go File src/pkg/exp/publicsuffix/gen.go (right): https://codereview.appspot.com/6873056/diff/12001/src/pkg/exp/publicsuffix/gen.go#newcode105 src/pkg/exp/publicsuffix/gen.go:105: if s == "" || strings.HasPrefix(s, "//") || !isASCII(s) ...
11 years, 4 months ago (2012-12-07 03:48:14 UTC) #20
nigeltao
The plan is: * the cookiejar code stays in exp, and aims to be promoted ...
11 years, 4 months ago (2012-12-07 07:17:49 UTC) #21
nigeltao
*** Abandoned ***
11 years, 3 months ago (2013-01-03 03:28:00 UTC) #22
nigeltao
11 years, 3 months ago (2013-01-06 07:24:32 UTC) #23
On Fri, Dec 7, 2012 at 2:48 PM,  <rsleevi@chromium.org> wrote:
> Warning: This ignores the distinction between the effectively two lists
> that are reflected in effective_tld_names.dat - public suffixes and
> private domains. (denoted by "// ===BEGIN " and "// ===END" directives)

ICANN domains vs private domains is addressed in
https://codereview.appspot.com/7060046
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b