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

Issue 470723006: Disallow an empty host in a CSP host-source directive (Closed)

Created:
6 years, 4 months ago by robwu
Modified:
6 years, 4 months ago
CC:
blink-reviews, mkwst+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Disallow an empty host in a CSP host-source directive Currently "https://" is accepted and treated like "https:". This behavior has never been part of any standard. The syntax is specified in http://www.w3.org/TR/CSP11/#source-list-syntax host-source = [ scheme-part "://" ] host-part [ port-part ] [ path-part ] host-part = "*" / [ "*." ] 1*host-char *( "." 1*host-char ) As you can see, the host-part is NOT optional. BUG=404295 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180407

Patch Set 1 #

Messages

Total messages: 6 (0 generated)
robwu
PTAL. I've also updated the description of source-list-parsing-03.html because it seemed to be an incorrect ...
6 years, 4 months ago (2014-08-16 11:40:14 UTC) #1
Mike West
On 2014/08/16 11:40:14, robwu wrote: > PTAL. > > I've also updated the description of ...
6 years, 4 months ago (2014-08-16 12:51:58 UTC) #2
robwu
On 2014/08/16 12:51:58, Mike West (OOO until 19th) wrote: > On 2014/08/16 11:40:14, robwu wrote: ...
6 years, 4 months ago (2014-08-16 13:57:45 UTC) #3
robwu
The CQ bit was checked by rob@robwu.nl
6 years, 4 months ago (2014-08-16 13:57:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob@robwu.nl/470723006/1
6 years, 4 months ago (2014-08-16 13:58:06 UTC) #5
commit-bot: I haz the power
6 years, 4 months ago (2014-08-16 14:36:11 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (1) as 180407

Powered by Google App Engine
This is Rietveld 408576698