Trouble with rails 2.0.2 and routes

I recently upgraded to rails 2.0.2.

I’ve been using this route:
map.connect ‘things/search/param1,:param1/param2,:param2/
param3,:param3/param4,:param4/param5,:param5/page,:page’, :controller
=> ‘search’, :action => ‘index’, :requirements => { :param1 => /\d
+/, :param2 => /\d+/, :param3 => /\d+/, :param4 => /\d+/, :param5 => /
\d+/, :page => /\d+/ }, :page => ‘1’

I’ve been using this URL:
/things/search/param1,0/param2,0/param3,0/param4,0/param5,0/page,0

All of this has been working right up until I upgraded to rails
2.0.2. Now I receive this error:
No route matches “/things/search/param1,0/param2,0/param3,0/param4,0/
param5,0/page,0” with {:method=>:get}

The only changes about routes I can find is regarding nested
namespaces and removing semicolons.

Does any one have any suggestions on this?

I found a way around my problem. I’m not sure why, but the commas
were the problem. I’ve found that I can change my current route by
replacing the commas with slashes and it seems to work fine. I
haven’t been able to find this documented anywhere.

change

map.connect ‘things/search/param1,:param1/param2,:param2/
param3,:param3/param4,:param4/param5,:param5/page,:page’, :controller
=> ‘search’, :action => ‘index’, :requirements => { :param1 => /\d
+/, :param2 => /\d+/, :param3 => /\d+/, :param4 => /\d+/, :param5 => /
\d+/, :page => /\d+/ }, :page => ‘1’

to (replacing commas with slashes)

map.connect ‘things/search/param1/:param1/param2/:param2/
param3/:param3/param4/:param4/param5/:param5/page/:page’, :controller
=> ‘search’, :action => ‘index’, :requirements => { :param1 => /\d
+/, :param2 => /\d+/, :param3 => /\d+/, :param4 => /\d+/, :param5 => /
\d+/, :page => /\d+/ }, :page => ‘1’