Skip to content

Commit 7e4c76c

Browse files
committed
revert API-graph change in Flask.qll
1 parent bdfd6bd commit 7e4c76c

File tree

1 file changed

+1
-1
lines changed
  • python/ql/lib/semmle/python/frameworks

1 file changed

+1
-1
lines changed

python/ql/lib/semmle/python/frameworks/Flask.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ module Flask {
339339
*/
340340
private class FlaskRequestSource extends RemoteFlowSource::Range {
341341
FlaskRequestSource() {
342-
this = request().getAnImmediateUse() and
342+
this = request().getAUse() and
343343
not any(Import imp).contains(this.asExpr()) and
344344
not exists(ControlFlowNode def | this.asVar().getSourceVariable().hasDefiningNode(def) |
345345
any(Import imp).contains(def.getNode())

0 commit comments

Comments
 (0)