Need a route to handle arbitrary query strings on URLs

All,

I am using a 3rd party component that (for right or wrong ;]) is
attempting to ask for URLs of the form:

http://host:port/controller/action/id?&group=undefined&sort=undefined&order=undefined&AJAX=Ajax.Updater_208&_=

Rails barfs on this URL.

However, a URL of the form

http://host:port/controller/action/id?group=undefined&sort=undefined&order=undefined&AJAX=Ajax.Updater_208&_=

works fine (only difference is the & on the first query - parameter).

I can’t get Rails routing to handle this as simply a call to

http://host:port/controller/action/id

I tried setting up this route:

map.connect ‘:controller/:action/:id?*stuff’

but to no avail.

Does anyone understand why the 1st URL fails?

Thanks,
Wes

Also tried this route:

map.connect ‘:controller/:action/:id*stuff’

also doesn’t work.

WG