Skip to content

Commit

Permalink
Merge pull request #41685 from mskacelik/issue-41600
Browse files Browse the repository at this point in the history
SmallRye GraphQL: added \r to PATTERN_NEWLINE_OR_TAB
  • Loading branch information
jmartisk authored Jul 4, 2024
2 parents d5656c5 + 36c1686 commit a7ec78f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7ec78f

Please sign in to comment.