Merge pull request #7228 from RasmusWL/fastapi-improvements

Python: FastAPI improvements
This commit is contained in:
yoff
2021-12-02 12:58:53 +01:00
committed by GitHub
5 changed files with 43 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* Extended the modeling of FastAPI such that custom subclasses of `fastapi.APIRouter` are recognized.

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* Extended the modeling of FastAPI such that `fastapi.responses.FileResponse` are considered `FileSystemAccess`, making them sinks for the _Uncontrolled data used in path expression_ (`py/path-injection`) query.