Skip to content

Commit

Permalink
GRAILS-6618 - don't pass original request parameters when a forward i…
Browse files Browse the repository at this point in the history
…s done.
  • Loading branch information
Jeff Brown committed Aug 25, 2010
1 parent 7357076 commit 5ec493e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class ForwardMethod {
def urlInfo = new ForwardUrlMappingInfo()

GrailsWebRequest webRequest = GrailsWebRequest.lookup(request)
webRequest.parameterMap?.clear()

if (params.controller) {
webRequest?.controllerName = params.controller
}
Expand Down

0 comments on commit 5ec493e

Please sign in to comment.