There was an error while loading. Please reload this page.
1 parent 6f50c2a commit d3ac17aCopy full SHA for d3ac17a
1 file changed
src/checker/taint/python/tornado-taint-checker.ts
@@ -97,6 +97,7 @@ class TornadoTaintChecker extends PythonTaintAbstractChecker {
97
}
98
99
const ast = val.ast || val.node
100
+ // 1. Handle CallExpressions (Rule/URLSpec/url)
101
if (ast?.type === 'CallExpression') {
102
const name = ast.callee?.property?.name || ast.callee?.name
103
if (isTornadoCall(ast, 'Rule') || isTornadoCall(ast, 'URLSpec') || name === 'url') {
0 commit comments