This project is archived and is in readonly mode.
Fix reserved options in optimized named routes
Reported by Gabe da Silveira | November 14th, 2008 @ 09:23 AM | in 2.x
Optimized routes cause problems with some of the less common reserved options. The big one being :protocol. This patch fixes the issue by using the canonical list of reserved options rather than an ad-hoc list.
Took a while to get the test working because I didn't realize url_for was mocked.
Comments and changes to this ticket
-
DHH November 14th, 2008 @ 11:04 AM
- Assigned user set to Michael Koziarski
-
Michael Koziarski November 18th, 2008 @ 10:29 PM
- State changed from new to resolved
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>