This project is archived and is in readonly mode.
URLs with trailing slashes behave differently in Edge than in 2.2.2
Reported by Luke Melia | January 13th, 2009 @ 10:59 PM | in 2.x
Given a simple app with a User model and routing configured with:
map.resources :users
The following URLs resolve to UsersController#show in 2.2.2
/users/9/
/users/9
but in Edge, the version with the trailing slash results in a 404.
Comments and changes to this ticket
-
CancelProfileIsBroken March 7th, 2009 @ 07:44 PM
- State changed from new to duplicate
Patched on #2039
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
Referenced by
- 1967 Named routes with nil params have extra slashes Related #1753?
- 2039 Trailing slashes in URLs causing routing errors in 2.3.0 RC1 for resources declared using ":as" There are a couple possibly related tickets already in th...