Fix the precedence issue here
This commit is contained in:
parent
db23e32141
commit
56de4e9a80
@ -264,7 +264,7 @@ def process(method, path, parameters = nil, rack_environment = nil)
|
||||
: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 New Issue
Block a user