From 3869abebea44d8d19e18dda24b1e84c183f0958e Mon Sep 17 00:00:00 2001 From: Nicolas Will Date: Fri, 27 Feb 2026 17:24:02 +0100 Subject: [PATCH] Fix Micronaut ql-for-ql alerts --- .../code/java/frameworks/micronaut/MicronautController.qll | 2 +- java/ql/test/library-tests/frameworks/micronaut/flow.ql | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/java/ql/lib/semmle/code/java/frameworks/micronaut/MicronautController.qll b/java/ql/lib/semmle/code/java/frameworks/micronaut/MicronautController.qll index 9ceb1c0003b..5be5308b366 100644 --- a/java/ql/lib/semmle/code/java/frameworks/micronaut/MicronautController.qll +++ b/java/ql/lib/semmle/code/java/frameworks/micronaut/MicronautController.qll @@ -87,7 +87,7 @@ class MicronautRequestMappingParameter extends Parameter { } private predicate isExplicitlyTaintedInput() { - // The MicronautHttpInputAnnotations allow access to the URI path, + // The MicronautHttpInputAnnotation allows access to the URI path, // request parameters, cookie values, headers, and the body of the request. this.getAnAnnotation() instanceof MicronautHttpInputAnnotation or diff --git a/java/ql/test/library-tests/frameworks/micronaut/flow.ql b/java/ql/test/library-tests/frameworks/micronaut/flow.ql index b72e8d0110c..587269f818c 100644 --- a/java/ql/test/library-tests/frameworks/micronaut/flow.ql +++ b/java/ql/test/library-tests/frameworks/micronaut/flow.ql @@ -1,6 +1,4 @@ import java -import semmle.code.java.dataflow.TaintTracking -import semmle.code.java.dataflow.FlowSources import semmle.code.java.security.RequestForgery import semmle.code.java.security.UrlRedirect import semmle.code.java.security.ResponseSplitting