Skip to content

Commit 5c20039

Browse files
committed
Ruby: Slightly improve class name
1 parent fa1ae26 commit 5c20039

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActionController.qll

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -427,12 +427,11 @@ private module ParamsSummaries {
427427
}
428428

429429
/**
430-
* Methods on `ActionController::Parameters` which propagate taint from
431-
* receiver to return value.
430+
* A flow summary for methods on `ActionController::Parameters` which
431+
* propagate taint from receiver to return value.
432432
*/
433-
private class TaintReturnFromSelf extends SummarizedCallable {
434-
// TODO: better name?
435-
TaintReturnFromSelf() { this = "ActionController::Parameters#<various>" }
433+
private class MethodsReturningParamsInstanceSummary extends SummarizedCallable {
434+
MethodsReturningParamsInstanceSummary() { this = "ActionController::Parameters#<various>" }
436435

437436
override MethodCall getACall() {
438437
any(ParamsInstance i).asExpr().getExpr() = result.getReceiver() and

0 commit comments

Comments
 (0)