Skip to content

Commit f96e47d

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

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
@@ -7,7 +7,6 @@ private boolean UnsafecsrfComparison(String csrfTokenInCookie) {
77
return false;
88
}
99
}
10-
1110
private boolean safecsrfComparison(String csrfTokenInCookie) {
1211
String csrfTokenInRequest = request.getHeader("X-CSRF-TOKEN");
1312
if (csrfTokenInRequest == null || !MessageDigest.isEqual(

0 commit comments

Comments
 (0)