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

Issue 2578653002: Do not call lower() on domains set from DOM after canonicalization (Closed)

Created:
4 years ago by Charlie Harrison
Modified:
4 years ago
Reviewers:
Mike West
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not call lower() on domains set from DOM after canonicalization We already canonicalize the domain using normal host canonicalization. Calling lower() actually yields non-canonical domains if the domain has percent encoded characters (which canonicalize to use uppercase). BUG=none Committed: https://crrev.com/5d603f5dff8fbdf0c57b57af8652188db129d53a Cr-Commit-Position: refs/heads/master@{#438836}

Patch Set 1 #

Patch Set 2 : add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/security/document-domain-canonicalizes.html View 1 1 chunk +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (11 generated)
Charlie Harrison
Mike: here is a tiny bit of fallout from the patch that removed a bunch ...
4 years ago (2016-12-14 18:55:20 UTC) #6
Mike West
Makes sense to me, thanks for following up on this! LGTM.
4 years ago (2016-12-15 14:53:56 UTC) #9
Charlie Harrison
On 2016/12/15 14:53:56, Mike West (slow) wrote: > Makes sense to me, thanks for following ...
4 years ago (2016-12-15 15:58:29 UTC) #10
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/2578653002/20001
4 years ago (2016-12-15 15:58:59 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-15 16:06:18 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-15 16:10:30 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5d603f5dff8fbdf0c57b57af8652188db129d53a
Cr-Commit-Position: refs/heads/master@{#438836}

Powered by Google App Engine
This is Rietveld 408576698