We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09e054a commit f96e47dCopy full SHA for f96e47d
java/ql/src/experimental/Security/CWE/CWE-208/ComparingValueOfSensetiveHeader.java
@@ -7,7 +7,6 @@ private boolean UnsafecsrfComparison(String csrfTokenInCookie) {
7
return false;
8
}
9
10
-
11
private boolean safecsrfComparison(String csrfTokenInCookie) {
12
String csrfTokenInRequest = request.getHeader("X-CSRF-TOKEN");
13
if (csrfTokenInRequest == null || !MessageDigest.isEqual(
0 commit comments