We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfd6bd commit 7e4c76cCopy full SHA for 7e4c76c
python/ql/lib/semmle/python/frameworks/Flask.qll
@@ -339,7 +339,7 @@ module Flask {
339
*/
340
private class FlaskRequestSource extends RemoteFlowSource::Range {
341
FlaskRequestSource() {
342
- this = request().getAnImmediateUse() and
+ this = request().getAUse() and
343
not any(Import imp).contains(this.asExpr()) and
344
not exists(ControlFlowNode def | this.asVar().getSourceVariable().hasDefiningNode(def) |
345
any(Import imp).contains(def.getNode())
0 commit comments