Make Parameter Binding support nested arrays

Bug #588137 reported by Rob Dawson
12
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.

Revision history for this message
Rob Dawson (robert-rojotek) wrote :
Changed in play:
status: New → Fix Committed
milestone: none → 1.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.