From 299b02fa0c6b355daf76e78be5d10fced0f82b2f Mon Sep 17 00:00:00 2001 From: moulalis Date: Thu, 27 Jul 2023 13:17:46 +0530 Subject: [PATCH] [UNDERTOW-2296] Wrong type in INCLUDE_MAPPING request attribute --- .../src/main/java/io/undertow/servlet/util/DispatchUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servlet/src/main/java/io/undertow/servlet/util/DispatchUtils.java b/servlet/src/main/java/io/undertow/servlet/util/DispatchUtils.java index 6bc8c4e018..98199a384d 100644 --- a/servlet/src/main/java/io/undertow/servlet/util/DispatchUtils.java +++ b/servlet/src/main/java/io/undertow/servlet/util/DispatchUtils.java @@ -123,7 +123,7 @@ public static ServletPathMatch dispatchInclude(final String path, requestImpl.setAttribute(INCLUDE_CONTEXT_PATH, servletContext.getContextPath()); requestImpl.setAttribute(INCLUDE_SERVLET_PATH, pathMatch.getMatched()); requestImpl.setAttribute(INCLUDE_PATH_INFO, pathMatch.getRemaining()); - requestImpl.setAttribute(INCLUDE_MAPPING, pathMatch.getMappingMatch()); + requestImpl.setAttribute(INCLUDE_MAPPING, requestImpl.getHttpServletMapping()); return pathMatch; }