Semicolons in request parameter in Rails 2.3

Florian j. Breunig
2009-08-13T21:45:24Z

Hi,

after upgrading Rails from 2.2.2 to 2.3.3 I realized that the handling
of request parameters has been changed regarding semicolons (that might
be due to the now integrated Rack interface). The following request

curl http://127.0.0.1:3000/polls/initiate -d ''hallo=1;2''

used to result in

Parameters: {"hallo"=>"1;2"}

in Rails 2.2.2. However, in Rails 2.3.3, the result is this:

Parameters: {"hallo"=>"1", "2"=>nil}

My application receives ICS (i.e. iCal) plain text containing semicolons
wrapped inside a POST request, so in my case a semicolon is *not* meant
to separate different parameters. How can I restore the previous
behaviour in Rails 2.3?

Thank you
Flow
--
Posted via http://www.ruby-forum.com/.