You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActionController::Request.domain() will return nil if someone comes to a site using subdomain-fu using only the server's IP address, such as http://10.2.3.4/zomg-haxor.php . In the real world, this sort of thing will happen fairly frequently thanks to security probes, ill-written bots, and crummy HTTP clients. This causes an error, attempting to apply '+' to nil:
http://apidock.com/rails/ActionController/Request/domain
ActionController::Request.domain() will return nil if someone comes to a site using subdomain-fu using only the server's IP address, such as http://10.2.3.4/zomg-haxor.php . In the real world, this sort of thing will happen fairly frequently thanks to security probes, ill-written bots, and crummy HTTP clients. This causes an error, attempting to apply '+' to nil:
gems/subdomain-fu-0.5.4/lib/subdomain-fu.rb:145:in `current_domain'
subdomain-fu should gracefully degrade in some way.
The text was updated successfully, but these errors were encountered: