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

Issue 767713002: DoResolveRelative must not parse mailto schemes as path URLs. (Closed)

Created:
6 years ago by zherczeg
Modified:
6 years ago
Reviewers:
brettw, abarth-chromium
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

DoResolveRelative must not parse mailto schemes as path URLs. Currently DoResolveRelative perform a ParsePathURL on those URLs, which have a valid base_parsed_authority.host. However, hash-mark (#) is not interpreted for mailto schemes, which result an incorrect parsing. BUG=413569 Committed: https://crrev.com/1e2171c1d5c24b6738fce18f93a530664e265602 Cr-Commit-Position: refs/heads/master@{#306803}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Next attempt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -4 lines) Patch
M url/url_util.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M url/url_util_unittest.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
zherczeg
6 years ago (2014-11-28 10:35:19 UTC) #2
zherczeg
On 2014/11/28 10:35:19, zherczeg wrote: Please review this.
6 years ago (2014-12-01 13:27:24 UTC) #3
brettw
https://codereview.chromium.org/767713002/diff/1/url/url_util.cc File url/url_util.cc (right): https://codereview.chromium.org/767713002/diff/1/url/url_util.cc#newcode242 url/url_util.cc:242: ResolveRelativeURL(base_spec, base_parsed_authority, false, relative, This should write into your ...
6 years ago (2014-12-01 20:15:10 UTC) #4
zherczeg
I fixed your requests.
6 years ago (2014-12-02 08:58:23 UTC) #5
brettw
lgtm
6 years ago (2014-12-03 23:34:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/767713002/20001
6 years ago (2014-12-04 09:57:14 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-04 11:52:43 UTC) #9
commit-bot: I haz the power
6 years ago (2014-12-04 11:53:27 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1e2171c1d5c24b6738fce18f93a530664e265602
Cr-Commit-Position: refs/heads/master@{#306803}

Powered by Google App Engine
This is Rietveld 408576698