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

Issue 1178373004: 'blob:' URLs should not match 'self' in CSP source expression lists. (Closed)

Created:
5 years, 6 months ago by Mike West
Modified:
5 years, 6 months ago
CC:
blink-reviews, mkwst+watchlist-csp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

'blob:' URLs should not match 'self' in CSP source expression lists. Chrome is currently treating `'self'` as including `blob:` URLs. That's against the spec (and Firefox), which requires whitelisting `blob:` explicitly: https://w3c.github.io/webappsec/specs/content-security-policy/#source-list-guid-matching. This patch fixes our implementation. Mozilla discussion here: https://bugzilla.mozilla.org/show_bug.cgi?id=1150957 BUG=473904 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197354

Patch Set 1 #

Patch Set 2 : Exclude extensions. #

Messages

Total messages: 8 (2 generated)
Mike West
Jochen, WDYT? This is probably going to break things in Chromium until https://codereview.chromium.org/1184353002 lands. Might ...
5 years, 6 months ago (2015-06-16 13:05:58 UTC) #2
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-16 13:21:47 UTC) #3
Mike West
On 2015/06/16 at 13:21:47, jochen wrote: > lgtm After the research I noted in https://codereview.chromium.org/1176203008#msg4, ...
5 years, 6 months ago (2015-06-18 12:32:12 UTC) #4
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-18 12:57:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1178373004/20001
5 years, 6 months ago (2015-06-18 13:26:40 UTC) #7
commit-bot: I haz the power
5 years, 6 months ago (2015-06-18 13:50:18 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197354

Powered by Google App Engine
This is Rietveld 408576698