You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/10/31 14:35:35 UTC

(superset) 04/11: fix: bump to FAB 4.3.9 remove CSP exception (#25712)

This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 8da27eda4059202438cbfaea511f71dea828afdf
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Fri Oct 20 11:33:40 2023 +0100

    fix: bump to FAB 4.3.9 remove CSP exception (#25712)
    
    (cherry picked from commit 8fb0c8da56f572c086126cc5ca16676ce74e7a3c)
---
 requirements/base.txt | 2 +-
 setup.py              | 2 +-
 superset/config.py    | 2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/requirements/base.txt b/requirements/base.txt
index d6ee2e6a6b..95e6912272 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -88,7 +88,7 @@ flask==2.2.5
     #   flask-migrate
     #   flask-sqlalchemy
     #   flask-wtf
-flask-appbuilder==4.3.7
+flask-appbuilder==4.3.9
     # via apache-superset
 flask-babel==1.0.0
     # via flask-appbuilder
diff --git a/setup.py b/setup.py
index 3cb0c144b2..87a721d21b 100644
--- a/setup.py
+++ b/setup.py
@@ -80,7 +80,7 @@ setup(
         "cryptography>=39.0.1, <40",
         "deprecation>=2.1.0, <2.2.0",
         "flask>=2.2.5, <3.0.0",
-        "flask-appbuilder>=4.3.7, <5.0.0",
+        "flask-appbuilder>=4.3.9, <5.0.0",
         "flask-caching>=1.11.1, <2.0",
         "flask-compress>=1.13, <2.0",
         "flask-talisman>=1.0.0, <2.0",
diff --git a/superset/config.py b/superset/config.py
index 73553fcc6c..e15c7bf990 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -1421,7 +1421,6 @@ TALISMAN_CONFIG = {
         "style-src": [
             "'self'",
             "'unsafe-inline'",
-            "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css",
         ],
         "script-src": ["'self'", "'strict-dynamic'"],
     },
@@ -1443,7 +1442,6 @@ TALISMAN_DEV_CONFIG = {
         "style-src": [
             "'self'",
             "'unsafe-inline'",
-            "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css",
         ],
         "script-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"],
     },