mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update java/ql/src/semmle/code/java/frameworks/Servlets.qll
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
@@ -354,7 +354,7 @@ class FilterChain extends Interface {
|
||||
|
||||
/** Holds if `m` is a filter handler method (for example `doFilter`). */
|
||||
predicate isDoFilterMethod(Method m) {
|
||||
m.getName() ="doFilter" and
|
||||
m.getName() = "doFilter" and
|
||||
m.getDeclaringType() instanceof FilterClass and
|
||||
m.getNumberOfParameters() = 3 and
|
||||
m.getParameter(0).getType() instanceof ServletRequest and
|
||||
|
||||
Reference in New Issue
Block a user