Skip to content

Commit d3ac17a

Browse files
committed
Fix: update tornado framework
1 parent 6f50c2a commit d3ac17a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/checker/taint/python/tornado-taint-checker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class TornadoTaintChecker extends PythonTaintAbstractChecker {
9797
}
9898

9999
const ast = val.ast || val.node
100+
// 1. Handle CallExpressions (Rule/URLSpec/url)
100101
if (ast?.type === 'CallExpression') {
101102
const name = ast.callee?.property?.name || ast.callee?.name
102103
if (isTornadoCall(ast, 'Rule') || isTornadoCall(ast, 'URLSpec') || name === 'url') {

0 commit comments

Comments
 (0)