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

Issue 1520943002: Support the same parameter key more than once in Uri query parameters. (Closed)

Created:
5 years ago by Lasse Reichstein Nielsen
Modified:
4 years, 11 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support the same parameter key more than once in Uri query parameters. R=floitsch@google.com, sgjesse@google.com Committed: https://github.com/dart-lang/sdk/commit/f70bef4a2c7c6cc6f0a6670cfae2f621842f163c

Patch Set 1 #

Total comments: 8

Patch Set 2 : Adding tests. #

Total comments: 12

Patch Set 3 : Added CHANGELOG. Name is queryParametersAll. #

Patch Set 4 : Address some comments #

Total comments: 8

Patch Set 5 : Address comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -28 lines) Patch
M CHANGELOG.md View 1 2 1 chunk +2 lines, -0 lines 1 comment Download
M sdk/lib/core/uri.dart View 1 2 3 4 7 chunks +116 lines, -28 lines 0 comments Download
A tests/corelib/uri_parameters_all_test.dart View 1 2 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (4 generated)
Lasse Reichstein Nielsen
WDYT? (I'll add tests if it's acceptable).
5 years ago (2015-12-11 15:24:54 UTC) #2
floitsch
I think it's ok, but I'm not sure how important it is. Soeren? https://codereview.chromium.org/1520943002/diff/1/sdk/lib/core/uri.dart File ...
5 years ago (2015-12-11 19:00:59 UTC) #3
Søren Gjesse
lgtm, but it is missing tests I think it is relevant. It is a valid ...
5 years ago (2015-12-14 07:41:02 UTC) #4
Lasse Reichstein Nielsen
https://codereview.chromium.org/1520943002/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/1/sdk/lib/core/uri.dart#newcode1386 sdk/lib/core/uri.dart:1386: if (value == null) { I think a "foo":[] ...
5 years ago (2015-12-14 13:13:12 UTC) #5
Lasse Reichstein Nielsen
https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart#newcode79 sdk/lib/core/uri.dart:79: Map<String, List<String>> _queryParameterLists; I'm wondering if these can share ...
5 years ago (2015-12-14 13:16:54 UTC) #6
floitsch
https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart#newcode79 sdk/lib/core/uri.dart:79: Map<String, List<String>> _queryParameterLists; On 2015/12/14 13:16:54, Lasse Reichstein Nielsen ...
5 years ago (2015-12-14 17:24:54 UTC) #7
Søren Gjesse
https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart#newcode1144 sdk/lib/core/uri.dart:1144: Map<String, List<String>> get queryParameterLists { On 2015/12/14 17:24:54, floitsch ...
5 years ago (2015-12-15 07:27:42 UTC) #8
Lasse Reichstein Nielsen
https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart#newcode1144 sdk/lib/core/uri.dart:1144: Map<String, List<String>> get queryParameterLists { I don't think that ...
5 years ago (2015-12-15 08:11:28 UTC) #9
floitsch
https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart#newcode1144 sdk/lib/core/uri.dart:1144: Map<String, List<String>> get queryParameterLists { On 2015/12/15 08:11:28, Lasse ...
5 years ago (2015-12-15 09:17:52 UTC) #10
Lasse Reichstein Nielsen
https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart#newcode1144 sdk/lib/core/uri.dart:1144: Map<String, List<String>> get queryParameterLists { On 2015/12/15 09:17:52, floitsch ...
5 years ago (2015-12-16 13:06:21 UTC) #11
Søren Gjesse
On 2015/12/16 13:06:21, Lasse Reichstein Nielsen wrote: > https://codereview.chromium.org/1520943002/diff/20001/sdk/lib/core/uri.dart > File sdk/lib/core/uri.dart (right): > > ...
5 years ago (2015-12-16 19:59:51 UTC) #12
Lasse Reichstein Nielsen
On 2015/12/16 19:59:51, Søren Gjesse wrote: > On 2015/12/16 13:06:21, Lasse Reichstein Nielsen wrote: > ...
5 years ago (2015-12-17 08:38:40 UTC) #13
floitsch
On 2015/12/17 08:38:40, Lasse Reichstein Nielsen wrote: > On 2015/12/16 19:59:51, Søren Gjesse wrote: > ...
5 years ago (2015-12-17 08:58:08 UTC) #14
Søren Gjesse
On 2015/12/17 08:58:08, floitsch wrote: > On 2015/12/17 08:38:40, Lasse Reichstein Nielsen wrote: > > ...
5 years ago (2015-12-17 12:01:19 UTC) #15
floitsch
On 2015/12/17 12:01:19, Søren Gjesse wrote: > On 2015/12/17 08:58:08, floitsch wrote: > > On ...
5 years ago (2015-12-17 12:46:52 UTC) #16
kevmoo
Tests? Changelog update?
5 years ago (2015-12-17 18:02:46 UTC) #18
Lasse Reichstein Nielsen
If we accept this, I'll add a changelog (I have a test, it's currently in ...
5 years ago (2015-12-17 18:06:01 UTC) #19
Lasse Reichstein Nielsen
PTAL https://codereview.chromium.org/1520943002/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/1/sdk/lib/core/uri.dart#newcode1115 sdk/lib/core/uri.dart:1115: * one of the values. The [queryParameterValues] getter ...
4 years, 11 months ago (2016-01-12 13:34:12 UTC) #20
floitsch
LGTM. https://codereview.chromium.org/1520943002/diff/60001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/60001/sdk/lib/core/uri.dart#newcode144 sdk/lib/core/uri.dart:144: * except for the unreserved characters, and replaces ...
4 years, 11 months ago (2016-01-12 16:51:33 UTC) #21
Søren Gjesse
lgtm
4 years, 11 months ago (2016-01-13 09:15:48 UTC) #22
Lasse Reichstein Nielsen
Committed patchset #5 (id:80001) manually as f70bef4a2c7c6cc6f0a6670cfae2f621842f163c (presubmit successful).
4 years, 11 months ago (2016-01-13 12:07:25 UTC) #24
Lasse Reichstein Nielsen
https://codereview.chromium.org/1520943002/diff/60001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/1520943002/diff/60001/sdk/lib/core/uri.dart#newcode144 sdk/lib/core/uri.dart:144: * except for the unreserved characters, and replaces spaces ...
4 years, 11 months ago (2016-01-13 12:30:14 UTC) #25
Bill Hesse
https://codereview.chromium.org/1520943002/diff/80001/CHANGELOG.md File CHANGELOG.md (right): https://codereview.chromium.org/1520943002/diff/80001/CHANGELOG.md#newcode15 CHANGELOG.md:15: * Addad `Uri.queryParametersAll` to handle multiple query parameters with ...
4 years, 11 months ago (2016-01-18 09:22:23 UTC) #27
Lasse Reichstein Nielsen
4 years, 11 months ago (2016-01-18 09:30:38 UTC) #28
Message was sent while issue was closed.
ACK. Same should probably happen to ??-as-const since the VM change hasn't even
landed yet.

Powered by Google App Engine
This is Rietveld 408576698