mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ruby 1.9.1 requires hash given to foormat to contain symbols.
This commit is contained in:
parent
0cf190001e
commit
10389a4c29
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ module ActionDispatch
|
|||
lambda do |env|
|
||||
req = Request.new(env)
|
||||
|
||||
uri = URI.parse(path_proc.call(req.params))
|
||||
uri = URI.parse(path_proc.call(req.params.symbolize_keys))
|
||||
uri.scheme ||= req.scheme
|
||||
uri.host ||= req.host
|
||||
uri.port ||= req.port unless req.port == 80
|
||||
|
|
Loading…
Reference in a new issue