diff --git a/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLExecutionHandler.java b/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLExecutionHandler.java index d0ffbc1901c95..7d97c18bd090c 100644 --- a/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLExecutionHandler.java +++ b/extensions/smallrye-graphql/runtime/src/main/java/io/quarkus/smallrye/graphql/runtime/SmallRyeGraphQLExecutionHandler.java @@ -309,7 +309,7 @@ private String readQueryParameter(RoutingContext ctx, String parameterName) { return null; } - private static final Pattern PATTERN_NEWLINE_OR_TAB = Pattern.compile("\\n|\\t"); + private static final Pattern PATTERN_NEWLINE_OR_TAB = Pattern.compile("\\n|\\t|\\r"); /** * Strip away unescaped tabs and line breaks from the incoming JSON document so that it can be