Skip to content

original params are chained when redirecting #10965

@skufle

Description

@skufle

Seems like Grails 3.3.3 has introduced a bug where the original input params are chained when redirecting.

See the screenshots for example and notice the URL change in request params when redirected to index page on Grails 3.3.3

Steps to Reproduce

  1. Create simple app with a few fields that redirects to index with not found when create is submitted
  2. Notice that the original input params to save are added to the index URL

Expected Behaviour

Should not chain the original input parameters

Actual Behaviour

Original input parameters are chained

Environment Information

  • Operating System: Ubuntu
  • Grails Version: 3.3.3
  • JDK Version: 1.8.0_131

Example Application

https://github.com/skufle/redirectbug

screenshot from 2018-03-16 11-01-06
screenshot from 2018-03-16 11-01-17
screenshot from 2018-03-16 11-03-49
screenshot from 2018-03-16 11-03-56

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions