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 32baf67 commit 236b628Copy full SHA for 236b628
ruby/ql/lib/codeql/ruby/frameworks/ActionController.qll
@@ -386,12 +386,13 @@ private module ParamsSummaries {
386
ParamsInstance() {
387
this.asExpr().getExpr() instanceof ParamsCall
388
or
389
- exists(DataFlow::CallNode call | call = this |
390
- call.getReceiver() instanceof ParamsInstance and
391
- call.getMethodName() = paramsMethodReturningParamsInstance()
392
- )
+ this =
+ any(DataFlow::CallNode call |
+ call.getReceiver() instanceof ParamsInstance and
+ call.getMethodName() = paramsMethodReturningParamsInstance()
393
+ )
394
- exists(DataFlow::LocalSourceNode prev | prev.flowsTo(this))
395
+ exists(ParamsInstance prev | prev.(DataFlow::LocalSourceNode).flowsTo(this))
396
}
397
398
0 commit comments