Merge branch 'develop' into trunk
This commit is contained in:
commit
8ec8c16cd5
1 changed files with 6 additions and 5 deletions
|
|
@ -44,13 +44,14 @@ class SecureHeaders
|
|||
$response->headers->set('Strict-Transport-Security', 'max-age=31536000; includeSubDomains;');
|
||||
$cspPolicies = [
|
||||
// * CKEDITOR Specific https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/csp.html
|
||||
"connect-src 'self'",
|
||||
"img-src * data:",
|
||||
"frame-src *",
|
||||
"connect-src 'self';",
|
||||
"img-src * data:;",
|
||||
"frame-src *;",
|
||||
|
||||
"font-src 'self'",
|
||||
"font-src 'self' https://fonts.gstatic.com;",
|
||||
// ! reverted since https://github.com/vuejs/vue-style-loader/issues/33
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
"style-src 'self' https: 'nonce-$nonce' https://fonts.googleapis.com;",
|
||||
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;",
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
"script-src 'self' https: $jsDev https://cdnjs.cloudflare.com;"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue