Update java/ql/src/semmle/code/java/frameworks/Servlets.qll

Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
haby0
2021-04-13 23:48:45 +08:00
committed by GitHub
parent be39883166
commit 6e73d13670

View File

@@ -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