Skip to content

Commit 3869abe

Browse files
committed
Fix Micronaut ql-for-ql alerts
1 parent ededc8c commit 3869abe

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

java/ql/lib/semmle/code/java/frameworks/micronaut/MicronautController.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class MicronautRequestMappingParameter extends Parameter {
8787
}
8888

8989
private predicate isExplicitlyTaintedInput() {
90-
// The MicronautHttpInputAnnotations allow access to the URI path,
90+
// The MicronautHttpInputAnnotation allows access to the URI path,
9191
// request parameters, cookie values, headers, and the body of the request.
9292
this.getAnAnnotation() instanceof MicronautHttpInputAnnotation
9393
or

java/ql/test/library-tests/frameworks/micronaut/flow.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import java
2-
import semmle.code.java.dataflow.TaintTracking
3-
import semmle.code.java.dataflow.FlowSources
42
import semmle.code.java.security.RequestForgery
53
import semmle.code.java.security.UrlRedirect
64
import semmle.code.java.security.ResponseSplitting

0 commit comments

Comments
 (0)