Details
Description
The space characters in URL mapped parameters/embedded variables are not correctly passed to the controller.
This worked well in Grails version 1.2.1 but is broken in Grails version 1.3.4.
UrlMappins.groovy
class UrlMappings {
static mappings = {
"/mapIt/$myparam?"(controller:"items", action:"index")
}
}
MapItController.groovy
class MapItController {
def index = {
render "$params.myparam"
}
}
| URL | output(1.3.4) | expected output(1.2.1) |
|---|---|---|
| /mapIt/Hello+World | Hello+World | Hello World |
| /mapIt/Hello World | Hello%20World | Hello World |
| /mapIt/Hello%20World | Hello%20World | Hello World |
Issue Links
- relates to
-
GRAILS-4479
space characters in params in the remoteLink tag are not being translated to spaces in the controller action
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.3.5 [ 16651 ] | |
| Priority | Major [ 3 ] | Critical [ 2 ] |
Graeme Rocher
made changes -
| Assignee | Graeme Rocher [ graemerocher ] |
Graeme Rocher
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Graeme Rocher
made changes -
| Resolution | Duplicate [ 3 ] | |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
Lari Hotari
made changes -
| Link | This issue relates to GRAILS-4479 [ GRAILS-4479 ] |
Contegix Support
made changes -
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 28927 ] | Grails [ 42081 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 42081 ] | Copy of Grails [ 49534 ] |
Burt Beckwith
made changes -
| Workflow | Copy of Grails [ 49534 ] | Grails [ 56944 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 56944 ] | Grails2 [ 64522 ] |
Burt Beckwith
made changes -
| Workflow | Grails2 [ 64522 ] | jira [ 78222 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 78222 ] | Grails2 [ 80265 ] |
Peter Ledbrook
made changes -
| Workflow | Grails2 [ 80265 ] | jira [ 88206 ] |
Peter Ledbrook
made changes -
| Workflow | jira [ 88206 ] | Grails2 [ 96423 ] |