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

Issue 2255103002: CSP: Strip reported URLs for 'frame-src' and 'object-src'. (Closed)

Created:
4 years, 4 months ago by Mike West
Modified:
4 years, 4 months ago
Reviewers:
estark
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CSP: Strip reported URLs for 'frame-src' and 'object-src'. The relaxation that landed in https://codereview.chromium.org/2002943002 was a bit too relaxed, and leaks navigation targets cross-origin for 'frame-src' and 'object-src' violations. This patch reverts to the old behavior for those two directives. BUG=633306 Committed: https://crrev.com/94a6ff53682eac87184c1682b63faf6110325174 Cr-Commit-Position: refs/heads/master@{#412809}

Patch Set 1 #

Total comments: 1

Patch Set 2 : estark #

Messages

Total messages: 15 (9 generated)
Mike West
Hey Emily! You reviewed the initial patch, and you're in a reasonable time zone this ...
4 years, 4 months ago (2016-08-18 08:27:20 UTC) #4
estark
lgtm https://codereview.chromium.org/2255103002/diff/1/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp File third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp (right): https://codereview.chromium.org/2255103002/diff/1/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp#newcode803 third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp:803: return SecurityOrigin::create(url)->toString(); Technically I think the old behavior ...
4 years, 4 months ago (2016-08-18 09:32:27 UTC) #5
Mike West
On 2016/08/18 at 09:32:27, estark wrote: > lgtm > > https://codereview.chromium.org/2255103002/diff/1/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp > File third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp (right): ...
4 years, 4 months ago (2016-08-18 09:56:18 UTC) #9
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/2255103002/20001
4 years, 4 months ago (2016-08-18 09:56:37 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-18 13:18:31 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 13:20:36 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/94a6ff53682eac87184c1682b63faf6110325174
Cr-Commit-Position: refs/heads/master@{#412809}

Powered by Google App Engine
This is Rietveld 408576698