From 9c2aa53bd298455c89aff908f91014b869f4b01b Mon Sep 17 00:00:00 2001 From: Scott Murphy Heiberg Date: Thu, 14 Nov 2024 16:04:02 -0800 Subject: [PATCH] MultipartHttpServletRequest - Handler mapping introspection fix. Fixes #13837 --- .../main/groovy/org/grails/web/servlet/mvc/GrailsWebRequest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/grails-web-common/src/main/groovy/org/grails/web/servlet/mvc/GrailsWebRequest.java b/grails-web-common/src/main/groovy/org/grails/web/servlet/mvc/GrailsWebRequest.java index ac374d0740d..a76f8354933 100644 --- a/grails-web-common/src/main/groovy/org/grails/web/servlet/mvc/GrailsWebRequest.java +++ b/grails-web-common/src/main/groovy/org/grails/web/servlet/mvc/GrailsWebRequest.java @@ -122,6 +122,7 @@ public GrailsWebRequest(HttpServletRequest request, HttpServletResponse response */ public void setMultipartRequest(HttpServletRequest multipartRequest) { this.multipartRequest = multipartRequest; + this.originalParams = null; // originalParams will need to be re-initialized. See https://github.com/grails/grails-core/issues/13837 } private void inheritEncodingStateRegistry() {