Skip to content

Commit a1f64e2

Browse files
dellaliberaesbena
andauthored
Update javascript/ql/src/experimental/Security/CWE-614/InsecureCookie.qll
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
1 parent 3bd7615 commit a1f64e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/experimental/Security/CWE-614/InsecureCookie.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module Cookie {
8383
override string getKind() { result = "response.cookie" }
8484

8585
override DataFlow::SourceNode getCookieOptionsArgument() {
86-
result = this.(DataFlow::InvokeNode).getLastArgument().getALocalSource()
86+
result = this.getLastArgument().getALocalSource()
8787
}
8888

8989
private DataFlow::Node getCookieFlagValue(string flag) {

0 commit comments

Comments
 (0)