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 784475d commit 798b03fCopy full SHA for 798b03f
javascript/ql/lib/semmle/javascript/frameworks/Hapi.qll
@@ -235,7 +235,8 @@ module Hapi {
235
this.getMethodName() = "route" and
236
handler =
237
this.getArgument(0)
238
- .(DataFlow::ArrayLiteralNode)
+ .getALocalSource()
239
+ .(DataFlow::ArrayCreationNode)
240
.getAnElement()
241
.(DataFlow::ObjectLiteralNode)
242
.getAPropertySource("handler")
0 commit comments