mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
The test app server only ever serves /, /index.html, and /sdk/index.js, so replace dynamic path joining with a fixed allowlist. This eliminates the data flow from req.url to readFileSync that CodeQL flagged as a path-traversal sink — the previous resolve+startsWith containment check was correct but not recognized as a sanitizer by the analyzer.