File tree Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ ) and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6
6
7
+ ## 1.3.0 - 2021-01-05
8
+ ### Added
9
+ - Added ` base-uri ` support. Thanks to @clarknelson
10
+
7
11
## 1.2.1.1 - 2020-11-03
8
12
### Fixed
9
13
- Fixed composer.json for composer 2
Original file line number Diff line number Diff line change @@ -9,13 +9,11 @@ class Settings extends Model
9
9
public $ enabled = true ;
10
10
11
11
public $ baseUri = [
12
- "'none' "
12
+ "'none' " ,
13
13
];
14
14
public $ defaultSrc = [];
15
15
public $ scriptSrc = [
16
16
"'self' " ,
17
- // "'unsafe-inline'",
18
- // "'unsafe-eval'",
19
17
];
20
18
public $ styleSrc = [
21
19
"'self' " ,
@@ -28,26 +26,14 @@ class Settings extends Model
28
26
public $ objectSrc = [];
29
27
public $ mediaSrc = [];
30
28
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 = [];
42
30
public $ reportUri = [];
43
31
public $ childSrc = [];
44
32
public $ formAction = [];
45
33
public $ frameAncestors = [];
46
34
public $ pluginTypes = [];
47
35
public $ reportTo = [];
48
- public $ workerSrc = [
49
- // 'blob:',
50
- ];
36
+ public $ workerSrc = [];
51
37
public $ manifestSrc = [];
52
38
public $ navigateTo = [];
53
39
You can’t perform that action at this time.
0 commit comments