mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update TimingAttackAgainstHeader.ql
This commit is contained in:
committed by
Chris Smowton
parent
19d0e1f4a7
commit
fa8af6bf70
@@ -34,7 +34,7 @@ class ClientSuppliedIpTokenCheck extends DataFlow::Node {
|
||||
ma.getMethod().hasName("getHeader") and
|
||||
ma.getArgument(0).(CompileTimeConstantExpr).getStringValue().toLowerCase() in [
|
||||
"x-auth-token", "x-csrf-token", "http_x_csrf_token", "x-csrf-param", "x-csrf-header",
|
||||
"http_x_csrf_token"
|
||||
"http_x_csrf_token", "x-api-key"
|
||||
] and
|
||||
ma = this.asExpr()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user