123456789_123456789_123456789_123456789_123456789_

Exception: ActionController::Redirecting::OpenRedirectError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, UnsafeRedirectError, StandardError
Instance Chain:
self, UnsafeRedirectError, StandardError
Inherits: ActionController::Redirecting::UnsafeRedirectError
Defined in: actionpack/lib/action_controller/metal/redirecting.rb

Class Method Summary

Constructor Details

.new(location) ⇒ OpenRedirectError

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/redirecting.rb', line 15

def initialize(location)
  super("Unsafe redirect to #{location.to_s.truncate(100).inspect}, pass allow_other_host: true to redirect anyway.")
end