未验证 提交 68efb013 编写于 作者: R Ryuta Kamizono 提交者: GitHub

Merge pull request #31055 from y-yagi/show_request_forgery_protection_methods_in_api_doc

Show `RequestForgeryProtection` methods in api doc  [ci skip]
......@@ -248,6 +248,7 @@ def handle_unverified_request # :doc:
"If you know what you're doing, go ahead and disable forgery " \
"protection on this action to permit cross-origin JavaScript embedding."
private_constant :CROSS_ORIGIN_JAVASCRIPT_WARNING
# :startdoc:
# If `verify_authenticity_token` was run (indicating that we have
# forgery protection enabled for this request) then also verify that
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册