This project is archived and is in readonly mode.

#1375 ✓resolved
Gabe da Silveira

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

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>

Attachments

Pages