Skip to content

Commit f758ed0

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

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
@@ -2,7 +2,6 @@
22
import java.nio.charset.StandardCharsets;
33
import java.security.MessageDigest;
44

5-
65
private boolean UnsafecsrfComparison(String csrfTokenInCookie) {
76
if(csrfTokenInCookie == null || !csrfTokenInCookie.equals(request.getHeader("X-CSRF-TOKEN"))) { // BAD
87
return false;

0 commit comments

Comments
 (0)