mirror of
https://github.com/apache/superset.git
synced 2026-05-08 17:35:33 +00:00
fix: Bumps Flask Caching to fix RCE vulnerability (#25090)
This commit is contained in:
committed by
Michael S. Molina
parent
46e6d32260
commit
372004d0e6
@@ -442,6 +442,7 @@ class TestCore(SupersetTestCase, InsertChartMixin):
|
||||
self.get_json_resp(f"/superset/warm_up_cache?slice_id={slc.id}")
|
||||
ck = db.session.query(CacheKey).order_by(CacheKey.id.desc()).first()
|
||||
assert ck.datasource_uid == f"{slc.table.id}__table"
|
||||
db.session.delete(ck)
|
||||
app.config["STORE_CACHE_KEYS_IN_METADATA_DB"] = store_cache_keys
|
||||
|
||||
def test_redirect_invalid(self):
|
||||
|
||||
Reference in New Issue
Block a user