This project is archived and is in readonly mode.
Email in URL Reproduces Routing Error
Reported by Nick Kezhaya | December 14th, 2008 @ 01:42 AM | in 2.x
The title pretty much says it all. I'm trying to get Rails to handle emails in GET requests, so this is in my routes.rb:
map.connect ':controller' map.connect ':controller/:action/:id' map.connect ':controller/:action/:id/:argument'
email@email.com">http://localhost/controller/acti...
The above produces a routing error.
http://localhost/controller/acti...
The above works appropriately.
The only time this fails is when a dot is present. Nothing in my routes.rb file would interfere with this.
Comments and changes to this ticket
-
Frederick Cheung December 14th, 2008 @ 09:44 AM
I vaguely recall something like this, it boils down to rails thinking that the . should indicate the format of the response (ie .xml, .json etc...)
-
Pratik March 8th, 2009 @ 05:22 PM
- State changed from new to stale
Is this still an issue ? A failing test would greatly help. Might wanna have a glance at http://guides.rails.info/contrib...
Thanks !
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>