mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-11 03:08:10 +02:00
Solved CSP bugs for echoserver
This commit is contained in:
@@ -20,6 +20,8 @@ csp:
|
|||||||
unsafe-eval: true
|
unsafe-eval: true
|
||||||
style-src:
|
style-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
script-src:
|
||||||
|
unsafe-eval: true
|
||||||
whitelist:
|
whitelist:
|
||||||
connect-src:
|
connect-src:
|
||||||
- wss://espocrm.{{ primary_domain }}
|
- wss://espocrm.{{ primary_domain }}
|
||||||
|
@@ -13,11 +13,14 @@ csp:
|
|||||||
style-src:
|
style-src:
|
||||||
- https://fonts.googleapis.com
|
- https://fonts.googleapis.com
|
||||||
flags:
|
flags:
|
||||||
|
script-src:
|
||||||
|
unsafe-eval: true
|
||||||
script-src-elem:
|
script-src-elem:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
unsafe-eval: true
|
unsafe-eval: true
|
||||||
style-src:
|
style-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
unsafe-eval: true
|
||||||
domains:
|
domains:
|
||||||
aliases:
|
aliases:
|
||||||
- "analytics.{{ primary_domain }}"
|
- "analytics.{{ primary_domain }}"
|
@@ -7,6 +7,8 @@ features:
|
|||||||
oidc: true
|
oidc: true
|
||||||
csp:
|
csp:
|
||||||
flags:
|
flags:
|
||||||
|
script-src-elem:
|
||||||
|
unsafe-inline: true
|
||||||
script-src:
|
script-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
style-src:
|
style-src:
|
||||||
|
@@ -4,6 +4,8 @@ features:
|
|||||||
portfolio_iframe: false
|
portfolio_iframe: false
|
||||||
csp:
|
csp:
|
||||||
flags:
|
flags:
|
||||||
|
script-src:
|
||||||
|
unsafe-eval: true
|
||||||
script-src-elem:
|
script-src-elem:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
unsafe-eval: true
|
unsafe-eval: true
|
||||||
|
@@ -77,7 +77,7 @@
|
|||||||
(application_id): {
|
(application_id): {
|
||||||
'csp': {
|
'csp': {
|
||||||
'hashes': {
|
'hashes': {
|
||||||
'script-src': (
|
'script-src-elem': (
|
||||||
applications[application_id]['csp']['hashes'].get('script-src', [])
|
applications[application_id]['csp']['hashes'].get('script-src', [])
|
||||||
+ [ matomo_tracking_code_one_liner ]
|
+ [ matomo_tracking_code_one_liner ]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user