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
- .new(location) ⇒ OpenRedirectError constructor
Constructor Details
.new(location) ⇒ OpenRedirectError
# 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