I wrote an application under rails 1.1.6. I have wrote routes to
handle URL like:
http://somewhere.org/some_action/<prj_name>/<file_name>
This routes.rb worked great till I upgrade to rails1.2. The reason
behind is that:
- Both prj_name and file_name in my case contain “.” and
- In Rails1.2 route like “/abc/:def” would generated a regular
expression like /\A/abc/([^/;.,?]+)/?\Z/
Are there any workaround? I don’t want a silly replacement from “.” to
“_”.