Skip to content

Commit d318b63

Browse files
committed
Filter the requestInfo Parameters
1 parent a2cd02a commit d318b63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grails-web-mvc/src/main/groovy/org/grails/web/errors/GrailsExceptionResolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ protected ModelAndView resolveViewOrForward(Exception ex, UrlMappingsHolder urlM
165165

166166
if ( requestInfo != null ) {
167167
Map params = new HashMap();
168-
params.putAll(requestInfo.getParameters());
169-
params.putAll(UrlMappingUtils.findAllParamsNotInUrlMappingKeywords(info.getParameters()));
168+
params.putAll(UrlMappingUtils.findAllParamsNotInUrlMappingKeywords(requestInfo.getParameters());
169+
params.putAll(info.getParameters());
170170
info = new DefaultUrlMappingInfo(info, params, grailsApplication);
171171
}
172172
}

0 commit comments

Comments
 (0)