From d362a3de662defe3f8c5337c6b37b937ee423424 Mon Sep 17 00:00:00 2001 From: "nikolay.borovenskiy" Date: Mon, 9 Sep 2024 17:22:23 +0300 Subject: [PATCH] chore: [ZNO-2993] Removed content_security_policy_nonce_in setting from talisman config --- superset/config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/superset/config.py b/superset/config.py index 0ea45069f5e92..87df89d934493 100644 --- a/superset/config.py +++ b/superset/config.py @@ -1426,7 +1426,6 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument "style-src": ["'self'", "'unsafe-inline'"], "script-src": ["'self'", "'unsafe-inline'", "'strict-dynamic'"], }, - "content_security_policy_nonce_in": ["script-src"], "force_https": False, } # React requires `eval` to work correctly in dev mode @@ -1445,7 +1444,6 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument "style-src": ["'self'", "'unsafe-inline'"], "script-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"], }, - "content_security_policy_nonce_in": ["script-src"], "force_https": False, }