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:18:54 +02:00
committed by GitHub
parent 8d26b810ee
commit 10bd745740

View File

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