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 f758ed0 commit 09e054aCopy full SHA for 09e054a
java/ql/src/experimental/Security/CWE/CWE-208/ComparingValueOfSensetiveHeader.java
@@ -8,7 +8,6 @@ private boolean UnsafecsrfComparison(String csrfTokenInCookie) {
8
}
9
10
11
-
12
private boolean safecsrfComparison(String csrfTokenInCookie) {
13
String csrfTokenInRequest = request.getHeader("X-CSRF-TOKEN");
14
if (csrfTokenInRequest == null || !MessageDigest.isEqual(
0 commit comments