mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Update ruby/ql/src/experimental/weak-params/WeakParams.ql
Co-authored-by: Harry Maclean <hmac@github.com>
This commit is contained in:
@@ -39,7 +39,7 @@ class WeakParams extends DataFlow::CallNode {
|
||||
WeakParams() {
|
||||
this.getReceiver() instanceof ActionControllerRequest and
|
||||
this.getMethodName() =
|
||||
["path_parametes", "query_parameters", "request_parameters", "GET", "POST"]
|
||||
["path_parameters", "query_parameters", "request_parameters", "GET", "POST"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user