method

verify_same_origin_request

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::RequestForgeryProtection
verify_same_origin_request() private

If verify_authenticity_token was run (indicating that we have forgery protection enabled for this request) then also verify that we aren’t serving an unauthorized cross-origin response.

Show source
Register or log in to add new notes.