In a Rails app, I've run into a case where I'd like to have a checkbox name that ends in square brackets, e.g.:
name="foo[bar][baz[]]"
Other special characters seem to be handled correctly, but it looks like Rails is stripping out the square brackets and treating them as declaring an array rather than being part of the name. What needs to be done to allow arbitrary characters (brackets in particular) in this name and have them be processed correctly by Rails?