mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: Bumps Flask Caching to fix RCE vulnerability (#25090)
This commit is contained in:
committed by
GitHub
parent
846c79ef55
commit
9df1b26654
@@ -411,6 +411,7 @@ class TestCore(SupersetTestCase):
|
||||
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