Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Adds Helpful Default Values to CSP (Security Headers) & Grammar Corrections #363

Merged
merged 1 commit into from
Feb 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions ConfigKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -1648,23 +1648,23 @@
),
'browsercache.security.csp.connect' => array(
'type' => 'string',
'default' => ''
'default' => '\'self\''
),
'browsercache.security.csp.font' => array(
'type' => 'string',
'default' => ''
'default' => '\'self\' fonts.gstatic.com'
),
'browsercache.security.csp.script' => array(
'type' => 'string',
'default' => ''
'default' => '\'self\' *.googleapis.com'
),
'browsercache.security.csp.style' => array(
'type' => 'string',
'default' => ''
'default' => '\'self\' *.googleapis.com'
),
'browsercache.security.csp.img' => array(
'type' => 'string',
'default' => ''
'default' => '\'self\' *.gravatar.com'
),
'browsercache.security.csp.media' => array(
'type' => 'string',
Expand Down Expand Up @@ -1692,7 +1692,7 @@
),
'browsercache.security.csp.default' => array(
'type' => 'string',
'default' => ''
'default' => '\'none\''
),
'browsercache.other.replace' => array(
'type' => 'boolean',
Expand Down