mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix the precedence issue here
This commit is contained in:
parent
db23e32141
commit
56de4e9a80
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ module ActionDispatch
|
|||
:params => parameters,
|
||||
|
||||
"SERVER_NAME" => hostname,
|
||||
"SERVER_PORT" => port || https? ? "443" : "80",
|
||||
"SERVER_PORT" => port || (https? ? "443" : "80"),
|
||||
"HTTPS" => https? ? "on" : "off",
|
||||
"rack.url_scheme" => https? ? "https" : "http",
|
||||
|
||||
|
|
Loading…
Reference in a new issue