From 42d03e62f8b308a58155f786ef8bc807db861099 Mon Sep 17 00:00:00 2001 From: jrhee17 Date: Thu, 14 Nov 2024 09:26:41 +0900 Subject: [PATCH] Update site/src/pages/release-notes/1.31.0.mdx Co-authored-by: Trustin Lee --- site/src/pages/release-notes/1.31.0.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/site/src/pages/release-notes/1.31.0.mdx b/site/src/pages/release-notes/1.31.0.mdx index bca22551d7b..6d72c9e160c 100644 --- a/site/src/pages/release-notes/1.31.0.mdx +++ b/site/src/pages/release-notes/1.31.0.mdx @@ -30,10 +30,12 @@ date: 2024-11-13 .tlsProvider(tlsProvider); ``` - **Access to Raw Request Path**: You can access the raw request path via . #5931 #5932 - ```java - ServiceRequestContext ctx = ...; - String rawPath = ctx.rawPath(); - ``` + - This can be useful when you need to get the original request path sent from the client, even if its potentially insecure. + ```java + ServiceRequestContext ctx = ...; + String rawPath = ctx.rawPath(); + // rawPath may contain unencoded, invalid or insecure characters. + ``` - **Additional Static Factory Methods for ResponseEntity**: More static factory methods are added for . #5954 ```java ResponseEntity response = ResponseEntity.of(200);