Skip to content

Commit 09e054a

Browse files
ahmed-farid-devsmowton
authored andcommitted
Update ComparingValueOfSensetiveHeader.java
1 parent f758ed0 commit 09e054a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

java/ql/src/experimental/Security/CWE/CWE-208/ComparingValueOfSensetiveHeader.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ private boolean UnsafecsrfComparison(String csrfTokenInCookie) {
88
}
99
}
1010

11-
1211
private boolean safecsrfComparison(String csrfTokenInCookie) {
1312
String csrfTokenInRequest = request.getHeader("X-CSRF-TOKEN");
1413
if (csrfTokenInRequest == null || !MessageDigest.isEqual(

0 commit comments

Comments
 (0)