Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the precedence issue here

  • Loading branch information...
commit 19b71233fe98ef8e2b8c1bc2e6196b4e31b50925 1 parent 262319a
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/testing/integration.rb
View
2  actionpack/lib/action_dispatch/testing/integration.rb
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.