We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 977e8a8 commit 084efe0Copy full SHA for 084efe0
ruby/ql/lib/codeql/ruby/security/SensitiveGetQueryCustomizations.qll
@@ -32,7 +32,8 @@ module SensitiveGetQuery {
32
33
RequestInputAccessSource() {
34
handler = this.asExpr().getExpr().getEnclosingMethod() and
35
- handler.getAnHttpMethod() = "get"
+ handler.getAnHttpMethod() = "get" and
36
+ this.getSourceType().matches(["%params%", "%parameters%"])
37
}
38
39
override Http::Server::RequestHandler getHandler() { result = handler }
0 commit comments