decode Path in content for nested Request

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2023-06-21 14:58:09 +10:00
parent bf5e0e94f8
commit 8550493c31
1 changed files with 1 additions and 1 deletions

View File

@ -1504,7 +1504,7 @@ public class Request implements HttpServletRequest
_httpFields = coreRequest.getHeaders(); _httpFields = coreRequest.getHeaders();
// This is further modified inside ContextHandler.doScope(). // This is further modified inside ContextHandler.doScope().
_pathInContext = coreRequest.getHttpURI().getCanonicalPath(); _pathInContext = URIUtil.decodePath(coreRequest.getHttpURI().getCanonicalPath());
setSecure(coreRequest.isSecure()); setSecure(coreRequest.isSecure());
} }