APIdock / Ruby on Rails
/
Browse About
method

normalize_action_path

v5.0.0.1 - Show latest stable - Class: ActionController::RequestForgeryProtection
normalize_action_path(action_path)
protected

No documentation available.

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

Related methods

  • Protected methods
  • protectedany_authenticity_token_valid?
  • protectedcompare_with_real_token
  • protectedform_authenticity_param
  • protectedform_authenticity_token
  • protectedhandle_unverified_request
  • protectedmark_for_same_origin_verification!
  • protectedmarked_for_same_origin_verification?
  • protectedmasked_authenticity_token
  • protectednon_xhr_javascript_response?
  • protectednormalize_action_path
  • protectedper_form_csrf_token
  • protectedprotect_against_forgery?
  • protectedreal_csrf_token
  • protectedrequest_authenticity_tokens
  • protectedunmask_token
  • protectedvalid_authenticity_token?
  • protectedvalid_per_form_csrf_token?
  • protectedvalid_request_origin?
  • protectedverified_request?
  • protectedverify_authenticity_token
  • protectedverify_same_origin_request
  • protectedxor_byte_strings
APIdock API Documentation Browser

Swarmia helps you measure DX Core 4 metrics that actually matter.

© 2026 APIdock