Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 23904004: Accept IPv6 addresses in Uri.http and Uri.https, and correctly nest IPv6 addresses in '[' and ']'. (Closed)

Created:
7 years, 3 months ago by Anders Johnsen
Modified:
7 years, 3 months ago
Reviewers:
Søren Gjesse, floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Accept IPv6 addresses in Uri.http and Uri.https, and correctly nest IPv6 addresses in '[' and ']'. BUG= http://dartbug.com/13130 BUG= http://dartbug.com/13131 BUG= http://dartbug.com/13132 R=floitsch@google.com, sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=27381

Patch Set 1 #

Total comments: 10

Patch Set 2 : Add parsing of IPv4 and IPv6 to Uri and use those. #

Total comments: 37

Patch Set 3 : Clean up code and comment host. #

Patch Set 4 : Fix status file. #

Total comments: 10

Patch Set 5 : Fixing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -21 lines) Patch
M sdk/lib/core/uri.dart View 1 2 3 4 11 chunks +190 lines, -20 lines 0 comments Download
M tests/co19/co19-co19.status View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M tests/corelib/uri_http_test.dart View 1 2 chunks +4 lines, -0 lines 0 comments Download
A tests/corelib/uri_ipv4_test.dart View 1 1 chunk +30 lines, -0 lines 0 comments Download
M tests/corelib/uri_ipv6_test.dart View 1 2 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Anders Johnsen
7 years, 3 months ago (2013-09-09 11:41:58 UTC) #1
floitsch
DBC. Please add tests. https://codereview.chromium.org/23904004/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/23904004/diff/1/sdk/lib/core/uri.dart#newcode241 sdk/lib/core/uri.dart:241: var hostEnd = null; That's ...
7 years, 3 months ago (2013-09-09 13:32:21 UTC) #2
Anders Johnsen
PTAL, adding more tests and parsing of IPv6/IPv4 addresses to Uri. https://codereview.chromium.org/23904004/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): ...
7 years, 3 months ago (2013-09-10 11:13:23 UTC) #3
floitsch
LGTM. https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart#newcode266 sdk/lib/core/uri.dart:266: for (;hostEnd < authority.length; hostEnd++) { nit: space ...
7 years, 3 months ago (2013-09-10 12:11:46 UTC) #4
Søren Gjesse
lgtm https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart#newcode266 sdk/lib/core/uri.dart:266: for (;hostEnd < authority.length; hostEnd++) { Please add ...
7 years, 3 months ago (2013-09-10 12:18:02 UTC) #5
floitsch
https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart#newcode1211 sdk/lib/core/uri.dart:1211: }) On 2013/09/10 12:18:03, Søren Gjesse wrote: > Maybe ...
7 years, 3 months ago (2013-09-10 12:23:32 UTC) #6
Anders Johnsen
PTAL https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/23904004/diff/5001/sdk/lib/core/uri.dart#newcode266 sdk/lib/core/uri.dart:266: for (;hostEnd < authority.length; hostEnd++) { On 2013/09/10 ...
7 years, 3 months ago (2013-09-11 12:58:31 UTC) #7
floitsch
LGTM. https://codereview.chromium.org/23904004/diff/15001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/23904004/diff/15001/sdk/lib/core/uri.dart#newcode1191 sdk/lib/core/uri.dart:1191: * Parse the [host] as a IP version ...
7 years, 3 months ago (2013-09-11 13:13:42 UTC) #8
Anders Johnsen
https://codereview.chromium.org/23904004/diff/15001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/23904004/diff/15001/sdk/lib/core/uri.dart#newcode1191 sdk/lib/core/uri.dart:1191: * Parse the [host] as a IP version 4 ...
7 years, 3 months ago (2013-09-11 13:21:43 UTC) #9
Anders Johnsen
7 years, 3 months ago (2013-09-11 13:24:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r27381 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698