mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update ComparingValueOfSensetiveHeader.java
This commit is contained in:
committed by
Chris Smowton
parent
f758ed0d85
commit
09e054ace6
@@ -8,7 +8,6 @@ private boolean UnsafecsrfComparison(String csrfTokenInCookie) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private boolean safecsrfComparison(String csrfTokenInCookie) {
|
||||
String csrfTokenInRequest = request.getHeader("X-CSRF-TOKEN");
|
||||
if (csrfTokenInRequest == null || !MessageDigest.isEqual(
|
||||
|
||||
Reference in New Issue
Block a user