mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
revert API-graph change in Flask.qll
This commit is contained in:
@@ -339,7 +339,7 @@ module Flask {
|
||||
*/
|
||||
private class FlaskRequestSource extends RemoteFlowSource::Range {
|
||||
FlaskRequestSource() {
|
||||
this = request().getAnImmediateUse() and
|
||||
this = request().getAUse() and
|
||||
not any(Import imp).contains(this.asExpr()) and
|
||||
not exists(ControlFlowNode def | this.asVar().getSourceVariable().hasDefiningNode(def) |
|
||||
any(Import imp).contains(def.getNode())
|
||||
|
||||
Reference in New Issue
Block a user