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

Issue 2820373002: Reland of 'Improve canonicalization of mailto url path components' (Closed)

Created:
3 years, 8 months ago by elawrence
Modified:
3 years, 8 months ago
Reviewers:
brettw
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of 'Improve canonicalization of mailto url path components' The canonicalization of the path component of mailto urls is too lax, leading to information disclosure and possible command injection attacks against mail clients. To fix this, we percent-encode more characters in the path component of mailto urls, matching other Firefox/IE/Edge. The original land of this patch (via 2817213002) omitted an update to layout tests. BUG=711020 TEST=url_unittests,run-webkit-tests fast/url Review-Url: https://codereview.chromium.org/2820373002 Cr-Commit-Position: refs/heads/master@{#465357} Committed: https://chromium.googlesource.com/chromium/src/+/d75485096f20f4ba7365106c46200b18c0fcc848

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -18 lines) Patch
M third_party/WebKit/LayoutTests/fast/url/mailto-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/url/script-tests/mailto.js View 1 chunk +2 lines, -1 line 0 comments Download
M url/url_canon_mailtourl.cc View 2 chunks +19 lines, -2 lines 0 comments Download
M url/url_canon_unittest.cc View 2 chunks +45 lines, -14 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
elawrence
Apologies for the re-rereview request. The original change failed to land because it broke a ...
3 years, 8 months ago (2017-04-18 19:44:47 UTC) #6
brettw
lgtm
3 years, 8 months ago (2017-04-18 20:34:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2820373002/1
3 years, 8 months ago (2017-04-18 20:39:52 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 20:44:36 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d75485096f20f4ba7365106c4620...

Powered by Google App Engine
This is Rietveld 408576698