aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/form_options_helper.rb
diff options
context:
space:
mode:
authoradam <code@getbraintree.com>2015-03-20 20:30:30 +0000
committeradam <code@getbraintree.com>2015-03-20 20:32:30 +0000
commitb49cac80de2d0245d8a704eebf555c54371b41d8 (patch)
tree14016e73a0ab9f51e1c9196411f4f29579556ba5 /actionview/lib/action_view/helpers/form_options_helper.rb
parent013b716f384a090f189ea7a98efd4c4171555454 (diff)
downloadrails-b49cac80de2d0245d8a704eebf555c54371b41d8.tar.gz
rails-b49cac80de2d0245d8a704eebf555c54371b41d8.tar.bz2
rails-b49cac80de2d0245d8a704eebf555c54371b41d8.zip
Fix handling of empty X_FORWARDED_HOST header.
Previously, an empty X_FORWARDED_HOST header would cause Actiondispatch::Http:URL.raw_host_with_port to return nil, causing Actiondispatch::Http:URL.host to raise a NoMethodError.
Diffstat (limited to 'actionview/lib/action_view/helpers/form_options_helper.rb')
0 files changed, 0 insertions, 0 deletions