Python: Use API::CallNode

This commit is contained in:
Taus
2022-05-17 12:00:17 +00:00
committed by GitHub
parent a0f8e2f0b1
commit ba8d73c2be

View File

@@ -37,7 +37,7 @@ DataFlow::Node getAutoEscapeParameter(DataFlow::CallCfgNode call) {
result = call.getArgByName("autoescape")
}
from DataFlow::CallCfgNode call
from API::CallNode call
where
call = jinja2EnvironmentOrTemplate().getACall() and
not exists(call.asCfgNode().(CallNode).getNode().getStarargs()) and