We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d06f4ca commit 3ac1b4bCopy full SHA for 3ac1b4b
ql/src/experimental/CWE-1004/AuthCookie.qll
@@ -165,10 +165,10 @@ class GorillaCookieStoreSaveTrackingConfiguration extends DataFlow::Configuratio
165
}
166
167
override predicate isSource(DataFlow::Node source) {
168
- exists(CallExpr c |
169
- source.asExpr() = c and
170
- c.getTarget().hasQualifiedName("github.com/gorilla/sessions", "NewCookieStore")
171
- )
+ source
+ .(DataFlow::CallNode)
+ .getTarget()
+ .hasQualifiedName("github.com/gorilla/sessions", "NewCookieStore")
172
173
174
override predicate isSink(DataFlow::Node sink) { sink instanceof GorillaSessionSaveSink }
0 commit comments