From 255ae8c3a9cbbec7e38348d8936b337c963b7f4d Mon Sep 17 00:00:00 2001 From: Nikolaj Volgushev Date: Tue, 13 Feb 2024 17:25:50 +0100 Subject: [PATCH] More --- server/src/main/java/org/elasticsearch/rest/RestRequest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/rest/RestRequest.java b/server/src/main/java/org/elasticsearch/rest/RestRequest.java index 62f7dd3c24794..e3e27ddf5cf5b 100644 --- a/server/src/main/java/org/elasticsearch/rest/RestRequest.java +++ b/server/src/main/java/org/elasticsearch/rest/RestRequest.java @@ -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!#$%&'*+\\-.\\^_`|~]+");