aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/request_forgery_protection.rb
diff options
context:
space:
mode:
authorHendy Tanata <htanata@gmail.com>2014-08-08 14:25:18 -0700
committerHendy Tanata <htanata@gmail.com>2014-08-08 14:27:05 -0700
commit71c7fd101324046995d8f7e51e78475c0e37ec1a (patch)
tree4b365cf8c86cb4abea975b1765c4b9edd0027297 /actionpack/lib/action_controller/metal/request_forgery_protection.rb
parenta9a6423fd654ee2ad8f1c6bfb63bd169880c9a0c (diff)
downloadrails-71c7fd101324046995d8f7e51e78475c0e37ec1a.tar.gz
rails-71c7fd101324046995d8f7e51e78475c0e37ec1a.tar.bz2
rails-71c7fd101324046995d8f7e51e78475c0e37ec1a.zip
Uppercase HTML in docs.
[skip ci]
Diffstat (limited to 'actionpack/lib/action_controller/metal/request_forgery_protection.rb')
-rw-r--r--actionpack/lib/action_controller/metal/request_forgery_protection.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb
index 0efa0fb259..7afbd767ce 100644
--- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb
+++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb
@@ -9,7 +9,7 @@ module ActionController #:nodoc:
end
# Controller actions are protected from Cross-Site Request Forgery (CSRF) attacks
- # by including a token in the rendered html for your application. This token is
+ # by including a token in the rendered HTML for your application. This token is
# stored as a random string in the session, to which an attacker does not have
# access. When a request reaches your application, \Rails verifies the received
# token with the token in the session. Only HTML and JavaScript requests are checked,
@@ -44,7 +44,7 @@ module ActionController #:nodoc:
#
# The token parameter is named <tt>authenticity_token</tt> by default. The name and
# value of this token must be added to every layout that renders forms by including
- # <tt>csrf_meta_tags</tt> in the html +head+.
+ # <tt>csrf_meta_tags</tt> in the HTML +head+.
#
# Learn more about CSRF attacks and securing your application in the
# {Ruby on Rails Security Guide}[http://guides.rubyonrails.org/security.html].