Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
padrino parses path components incorrectly #1391
I seem to get incorrect results when encoding a slash part of the url path:
DemoProject::App.controllers :resources, :use_format => false do get :index, :with => [:drive_alias, :path], :path => /.*/ do params.inspect end end
When I request
Note how the encoded path component got decoded prematurely causing the "foo" to be stripped from the drive alias into moved into the path section.