Skip to content

Commit 7abac5d

Browse files
committed
1 parent fa9cf26 commit 7abac5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

actionpack/lib/action_controller/metal/request_forgery_protection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ def protect_against_forgery? # :doc:
626626
If you cannot change the referrer policy, you can disable origin checking with the
627627
Rails.application.config.action_controller.forgery_protection_origin_check setting.
628628
MSG
629+
private_constant :NULL_ORIGIN_MESSAGE
629630

630631
# Checks if the request originated from the same origin by looking at the Origin
631632
# header.

0 commit comments

Comments
 (0)