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

Issue 7060046: code review 7060046: go.net/publicsuffix: distinguish ICANN domains from pri... (Closed)

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

Description

go.net/publicsuffix: distinguish ICANN domains from private domains; add a publicsuffix.PublicSuffix function. This required moving the encoded node type bits from the nodes array to the children array.

Patch Set 1 #

Patch Set 2 : diff -r 3d9483b02eb3 https://code.google.com/p/go.net #

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

Total comments: 4

Patch Set 4 : diff -r 3d9483b02eb3 https://code.google.com/p/go.net #

Total comments: 1

Patch Set 5 : diff -r 3d9483b02eb3 https://code.google.com/p/go.net #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -165 lines) Patch
M publicsuffix/gen.go View 1 2 3 17 chunks +68 lines, -29 lines 0 comments Download
M publicsuffix/list.go View 1 2 3 4 3 chunks +30 lines, -16 lines 0 comments Download
M publicsuffix/list_test.go View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M publicsuffix/table.go View 1 2 chunks +133 lines, -120 lines 0 comments Download
M publicsuffix/table_test.go View 1 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 7
nigeltao
Hello dr.volker.dobler@gmail.com (cc: golang-dev@googlegroups.com, rsc@golang.org, rsleevi@chromium.org), I'd like you to review this change to https://code.google.com/p/go.net
11 years, 4 months ago (2013-01-06 07:24:09 UTC) #1
rsc
LGTM https://codereview.appspot.com/7060046/diff/4001/publicsuffix/gen.go File publicsuffix/gen.go (right): https://codereview.appspot.com/7060046/diff/4001/publicsuffix/gen.go#newcode131 publicsuffix/gen.go:131: } else if strings.Contains(s, "END ICANN DOMAINS") { ...
11 years, 4 months ago (2013-01-06 19:48:18 UTC) #2
volker.dobler
LGTM https://codereview.appspot.com/7060046/diff/4001/publicsuffix/list.go File publicsuffix/list.go (right): https://codereview.appspot.com/7060046/diff/4001/publicsuffix/list.go#newcode83 publicsuffix/list.go:83: // We assume that such a TLD is ...
11 years, 4 months ago (2013-01-07 10:04:50 UTC) #3
nigeltao
https://codereview.appspot.com/7060046/diff/4001/publicsuffix/list.go File publicsuffix/list.go (right): https://codereview.appspot.com/7060046/diff/4001/publicsuffix/list.go#newcode83 publicsuffix/list.go:83: // We assume that such a TLD is an ...
11 years, 4 months ago (2013-01-08 10:16:55 UTC) #4
volker.dobler
LGTM
11 years, 4 months ago (2013-01-08 11:49:55 UTC) #5
nigeltao
https://codereview.appspot.com/7060046/diff/8002/publicsuffix/list.go File publicsuffix/list.go (right): https://codereview.appspot.com/7060046/diff/8002/publicsuffix/list.go#newcode85 publicsuffix/list.go:85: return domain[1+strings.LastIndex(domain, "."):], foundTLD On second thoughts, return etc, ...
11 years, 3 months ago (2013-01-09 11:10:13 UTC) #6
nigeltao
11 years, 3 months ago (2013-01-09 11:11:35 UTC) #7
*** Submitted as
https://code.google.com/p/go/source/detail?r=e1c4b7341527&repo=net ***

go.net/publicsuffix: distinguish ICANN domains from private domains;
add a publicsuffix.PublicSuffix function.

This required moving the encoded node type bits from the nodes array
to the children array.

R=dr.volker.dobler, rsc
CC=golang-dev, rsleevi
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