This project is archived and is in readonly mode.
url-encoded params aren't decoded when part of the route?
Reported by isak | October 28th, 2009 @ 04:03 PM
I guess the subject is badly worded; feel free to rephrase. I'm also not sure whether this is indeed a bug, just an inconsistency, or is working as intended.
Anyways, my issue is that the param part of routes don't get decoded.
Take for instance "/comments/12+34+56", which would reach CommentsController with an id parameter of "12+34+56", rather than "12 34 56", which I was expecting.
Comments and changes to this ticket
-
isak October 29th, 2009 @ 09:24 AM
- Tag changed from params, routing to invalid, params, routing
I've done some further research, and it seems like the plus sign isn't really a valid char in url's.
http://stackoverflow.com/questions/1211229/in-a-url-should-spaces-b...
-
Ryan Bigg April 14th, 2010 @ 05:17 AM
- State changed from new to invalid
- Tag changed from invalid, params, routing to params, routing
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>