Skip to content

Commit 1aa36dd

Browse files
author
Roel van Hintum
committed
Bump to 1.3.0
1 parent eeaf4e2 commit 1aa36dd

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 1.3.0 - 2021-01-05
8+
### Added
9+
- Added `base-uri` support. Thanks to @clarknelson
10+
711
## 1.2.1.1 - 2020-11-03
812
### Fixed
913
- Fixed composer.json for composer 2

src/models/Settings.php

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ class Settings extends Model
99
public $enabled = true;
1010

1111
public $baseUri = [
12-
"'none'"
12+
"'none'",
1313
];
1414
public $defaultSrc = [];
1515
public $scriptSrc = [
1616
"'self'",
17-
// "'unsafe-inline'",
18-
// "'unsafe-eval'",
1917
];
2018
public $styleSrc = [
2119
"'self'",
@@ -28,26 +26,14 @@ class Settings extends Model
2826
public $objectSrc = [];
2927
public $mediaSrc = [];
3028
public $frameSrc = [];
31-
public $sandbox = [
32-
// "'allow-forms'",
33-
// "'allow-same-origin'",
34-
// "'allow-scripts allow-popups'",
35-
// "'allow-modals'",
36-
// "'allow-orientation-lock'",
37-
// "'allow-pointer-lock'",
38-
// "'allow-presentation'",
39-
// "'allow-popups-to-escape-sandbox'",
40-
// "'allow-top-navigation'",
41-
];
29+
public $sandbox = [];
4230
public $reportUri = [];
4331
public $childSrc = [];
4432
public $formAction = [];
4533
public $frameAncestors = [];
4634
public $pluginTypes = [];
4735
public $reportTo = [];
48-
public $workerSrc = [
49-
// 'blob:',
50-
];
36+
public $workerSrc = [];
5137
public $manifestSrc = [];
5238
public $navigateTo = [];
5339

0 commit comments

Comments
 (0)