Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
n1v0lg committed Feb 13, 2024
1 parent 390e463 commit 255ae8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/main/java/org/elasticsearch/rest/RestRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public class RestRequest implements ToXContent.Params, Traceable {
@Deprecated()
// TODO remove once Serverless is updated
public static final String RESPONSE_RESTRICTED = "responseRestricted";
public static final String PATH_RESTRICTED = "pathRestricted";
// TODO rename to `pathRestricted` once Serverless is updated
public static final String PATH_RESTRICTED = "responseRestricted";
// tchar pattern as defined by RFC7230 section 3.2.6
private static final Pattern TCHAR_PATTERN = Pattern.compile("[a-zA-Z0-9!#$%&'*+\\-.\\^_`|~]+");

Expand Down

0 comments on commit 255ae8c

Please sign in to comment.