Skip to content

Commit ba8d73c

Browse files
authored
Python: Use API::CallNode
1 parent a0f8e2f commit ba8d73c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Security/CWE-079/Jinja2WithoutEscaping.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ DataFlow::Node getAutoEscapeParameter(DataFlow::CallCfgNode call) {
3737
result = call.getArgByName("autoescape")
3838
}
3939

40-
from DataFlow::CallCfgNode call
40+
from API::CallNode call
4141
where
4242
call = jinja2EnvironmentOrTemplate().getACall() and
4343
not exists(call.asCfgNode().(CallNode).getNode().getStarargs()) and

0 commit comments

Comments
 (0)