This project is archived and is in readonly mode.

#393 ✓wontfix
Pete P.

Routes are case sensitive

Reported by Pete P. | June 11th, 2008 @ 07:20 PM

All routes are by default case sensitive, so map.connect 'about', :controller=>"about", :action=>"index" is not recognized by a request to /About.

I'm not too sure what the default behavior should be, but case sensitivity should at least be an option when specifying routes in routing.rb

In the meantime, as a work around, I'm going to patch up ActionController::Routing#recognition_conditions to return a case insensitive Regexp

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Pages