Skip to content

Commit efecebc

Browse files
committed
removed the code that was clearing the HttpServletRequest's parameterMap which may not work on certain containers which return an immutable map and could cause an java.lang.UnsupportedOperationException
1 parent ebd12dd commit efecebc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/java/org/codehaus/groovy/grails/web/metaclass/ForwardMethod.groovy

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ class ForwardMethod {
4444
}
4545

4646
String forward(HttpServletRequest request, HttpServletResponse response, Map params) {
47-
def paramMap = request.parameterMap
48-
if (paramMap) {
49-
paramMap.clear()
50-
}
51-
5247
def urlInfo = new ForwardUrlMappingInfo()
5348

5449
GrailsWebRequest webRequest = GrailsWebRequest.lookup(request)

0 commit comments

Comments
 (0)