Skip to content

Commit

Permalink
Bump to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Hintum committed Jan 5, 2021
1 parent eeaf4e2 commit 1aa36dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

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

## 1.3.0 - 2021-01-05
### Added
- Added `base-uri` support. Thanks to @clarknelson

## 1.2.1.1 - 2020-11-03
### Fixed
- Fixed composer.json for composer 2
Expand Down
20 changes: 3 additions & 17 deletions src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ class Settings extends Model
public $enabled = true;

public $baseUri = [
"'none'"
"'none'",
];
public $defaultSrc = [];
public $scriptSrc = [
"'self'",
// "'unsafe-inline'",
// "'unsafe-eval'",
];
public $styleSrc = [
"'self'",
Expand All @@ -28,26 +26,14 @@ class Settings extends Model
public $objectSrc = [];
public $mediaSrc = [];
public $frameSrc = [];
public $sandbox = [
// "'allow-forms'",
// "'allow-same-origin'",
// "'allow-scripts allow-popups'",
// "'allow-modals'",
// "'allow-orientation-lock'",
// "'allow-pointer-lock'",
// "'allow-presentation'",
// "'allow-popups-to-escape-sandbox'",
// "'allow-top-navigation'",
];
public $sandbox = [];
public $reportUri = [];
public $childSrc = [];
public $formAction = [];
public $frameAncestors = [];
public $pluginTypes = [];
public $reportTo = [];
public $workerSrc = [
// 'blob:',
];
public $workerSrc = [];
public $manifestSrc = [];
public $navigateTo = [];

Expand Down

0 comments on commit 1aa36dd

Please sign in to comment.