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

Issue 2374253004: Fix bug in _SimpleUri.resolve. (Closed)

Created:
4 years, 2 months ago by Lasse Reichstein Nielsen
Modified:
4 years, 2 months ago
Reviewers:
floitsch, eernst
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix bug in _SimpleUri.resolve. In some cases it didn't follow our non-RFC behavior for resolving a relative path on top of another relative path. Fixes issue #27447 BUG= http://dartbug.com/27447 R=eernst@google.com Committed: https://github.com/dart-lang/sdk/commit/9bd4406d4ba9db9cda26089136d5cc16415125b0

Patch Set 1 #

Patch Set 2 : Drop special casing of base URIs starting with "../". #

Total comments: 7

Patch Set 3 : Simplify logic #

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -56 lines) Patch
M sdk/lib/core/uri.dart View 1 2 3 2 chunks +26 lines, -16 lines 0 comments Download
M tests/corelib/uri_test.dart View 11 chunks +85 lines, -40 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Lasse Reichstein Nielsen
4 years, 2 months ago (2016-09-29 11:38:13 UTC) #2
eernst
LGTM, with a couple of requests for more detailed commenting. https://codereview.chromium.org/2374253004/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/2374253004/diff/20001/sdk/lib/core/uri.dart#newcode4343 ...
4 years, 2 months ago (2016-09-29 12:28:50 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/2374253004/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/2374253004/diff/20001/sdk/lib/core/uri.dart#newcode4343 sdk/lib/core/uri.dart:4343: int backCount = 0; On 2016/09/29 12:28:49, eernst wrote: ...
4 years, 2 months ago (2016-09-29 12:58:31 UTC) #4
Lasse Reichstein Nielsen
4 years, 2 months ago (2016-09-29 13:00:48 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
9bd4406d4ba9db9cda26089136d5cc16415125b0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698