This project is archived and is in readonly mode.

#3437 ✓invalid
isak

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

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

Pages