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

Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
Alessio Della Libera
2020-08-16 14:25:11 +02:00
committed by GitHub
parent fb3ffb895a
commit 97f039af3a

View File

@@ -62,7 +62,7 @@ module InsecureCookie {
override string getKind() { result = "express-session" }
override DataFlow::SourceNode getCookieOptionsArgument() {
result = this.getOption("cookie").(DataFlow::SourceNode)
result = this.getOption("cookie")
}
DataFlow::Node getCookieFlagValue(string flag) {