1
0
Fork 0
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:
Santiago Pastorino 2010-09-26 17:54:00 -03:00
parent db23e32141
commit 56de4e9a80

View file

@ -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",