Make Parameter Binding support nested arrays
Bug #588137 reported by
Rob Dawson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The regexp in bindInternal doesn't support nested arrays. The [ and ] characters are escaped for the array being considered, but not in the prefix, causing them to be treated as a character class, regexp chars. It would be great to have this code written without regexes, but essential to have the name+prefix portion of the regex escaped.
The patch Binder_escape.patch does the escaping of the name+prefix portion of the regex.
Changed in play: | |
status: | New → Fix Committed |
milestone: | none → 1.1 |
To post a comment you must log in.