Skip to content

Commit

Permalink
revert API-graph change in Flask.qll
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-krogh committed Apr 7, 2022
1 parent bdfd6bd commit 7e4c76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/frameworks/Flask.qll
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 7e4c76c

Please sign in to comment.