Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

url-encoded params aren't decoded when part of the route?

#3437

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.

Reported by isak · October 28th, 2009 @ 04:03 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. isak
    isak
    • 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...

    October 29th, 2009 @ 09:24 AM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to invalid
    • Tag changed from invalid, params, routing to params, routing

    April 14th, 2010 @ 05:17 AM