aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/http/url.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb
index 75e426d3b0..92aba01b95 100644
--- a/actionpack/lib/action_dispatch/http/url.rb
+++ b/actionpack/lib/action_dispatch/http/url.rb
@@ -92,8 +92,8 @@ module ActionDispatch
end
result << host
- normalize_port(port, protocol) { |port|
- result << ":#{port}"
+ normalize_port(port, protocol) { |normalized_port|
+ result << ":#{normalized_port}"
}
result