app/controllers/agents_controller.rb
# Sanitize params[:return] to prevent open redirect attacks, a common security issue.
Sanitize params[:return] to prevent open redirect attacks, a common security issue.
Sanitize params [ : return ] to prevent open redirect attacks a common security issue .
def redirect_back(message, options = {})
    if path = filtered_agent_return_link(options)
      redirect_to path, notice: message
    else
      super agents_path, notice: message
    end
  end
def redirect_back ( message , options = { } ) if path = filtered_agent_return_link ( options ) redirect_to path , notice : message else super agents_path , notice : message end end
Sanitize params[:return] to prevent open redirect attacks, a common security issue.
Sanitize params [ : return ] to prevent open redirect attacks a common security issue .
message
<not_specific>
options
<not_specific>