APIdock / Ruby on Rails
/
Browse About
method

normalize_action_path

v5.2.3 - Show latest stable - Class: ActionController::RequestForgeryProtection
normalize_action_path(action_path)
private

No documentation available.

# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 440
      def normalize_action_path(action_path) # :doc:
        uri = URI.parse(action_path)
        uri.path.chomp("/")
      end

Related methods

  • Private methods
  • privateany_authenticity_token_valid?
  • privatecompare_with_real_token
  • privateform_authenticity_param
  • privateform_authenticity_token
  • privatehandle_unverified_request
  • privatemark_for_same_origin_verification!
  • privatemarked_for_same_origin_verification?
  • privatemasked_authenticity_token
  • privatenon_xhr_javascript_response?
  • privatenormalize_action_path
  • privateper_form_csrf_token
  • privateprotect_against_forgery?
  • privatereal_csrf_token
  • privaterequest_authenticity_tokens
  • privateunmask_token
  • privatevalid_authenticity_token?
  • privatevalid_per_form_csrf_token?
  • privatevalid_request_origin?
  • privateverified_request?
  • privateverify_authenticity_token
  • privateverify_same_origin_request
  • privatexor_byte_strings
APIdock API Documentation Browser

Measure what matters with Swarmia's SPACE framework implementation.

© 2026 APIdock