We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae21de9 commit f98460cCopy full SHA for f98460c
java/ql/src/semmle/code/java/frameworks/spring/SpringController.qll
@@ -207,10 +207,7 @@ class SpringRequestMappingParameter extends Parameter {
207
this.getAnAnnotation() instanceof SpringServletInputAnnotation or
208
// HttpEntity is like @RequestBody, but with a wrapper including the headers
209
// TODO model unwrapping aspects
210
- getType()
211
- .(RefType)
212
- .getAnAncestor()
213
- .hasQualifiedName("org.springframework.http", "HttpEntity<T>") or
+ getType().(RefType).getASourceSupertype*() instanceof SpringHttpEntity or
214
this
215
.getAnAnnotation()
216
.getType()
0 commit comments