Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Santiago Pastorino and José Ignacio Costa 2010-02-01 17:00:26 -02:00 committed by José Valim
parent 95eadb39bd
commit afdf52402e
1 changed files with 1 additions and 2 deletions

View File

@ -207,8 +207,7 @@ module ActionDispatch
lambda do |env|
req = Request.new(env)
uri = URI.parse(path_proc.call(req.params.symbolize_keys))
uri = URI.parse(path_proc.call(req.symbolized_path_parameters))
uri.scheme ||= req.scheme
uri.host ||= req.host
uri.port ||= req.port unless req.port == 80