Fix the precedence issue here

This commit is contained in:
Santiago Pastorino 2010-09-26 17:54:00 -03:00
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",