mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Add django FileRsponse as a wrapper
This commit is contained in:
@@ -36,6 +36,9 @@ class FileWrapperCall extends DataFlow::CallCfgNode {
|
||||
or
|
||||
wrapped = this.getArg(0) and
|
||||
this = API::moduleImport("os").getMember("fdopen").getACall()
|
||||
or
|
||||
wrapped = this.getArg(0) and
|
||||
this = API::moduleImport("django").getMember("http").getMember("FileResponse").getACall()
|
||||
}
|
||||
|
||||
/** Gets the file that this call wraps. */
|
||||
|
||||
Reference in New Issue
Block a user