aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/remote_ip.rb
diff options
context:
space:
mode:
authorCarson McDonald <carson@ioncannon.net>2013-02-11 11:32:12 -0500
committerCarson McDonald <carson@ioncannon.net>2013-02-11 11:32:12 -0500
commit4e02a690d28486bff79ee2d7002ef18cc78ea989 (patch)
tree2ad5455000307c42792dab18ae538a428eead060 /actionpack/lib/action_dispatch/middleware/remote_ip.rb
parent24e08450ee5d67632a8a3b00447d2e804ca06798 (diff)
downloadrails-4e02a690d28486bff79ee2d7002ef18cc78ea989.tar.gz
rails-4e02a690d28486bff79ee2d7002ef18cc78ea989.tar.bz2
rails-4e02a690d28486bff79ee2d7002ef18cc78ea989.zip
Fix typo.
[ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/remote_ip.rb')
-rw-r--r--actionpack/lib/action_dispatch/middleware/remote_ip.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/remote_ip.rb b/actionpack/lib/action_dispatch/middleware/remote_ip.rb
index 4e36c9bb49..5b5fa2a0e2 100644
--- a/actionpack/lib/action_dispatch/middleware/remote_ip.rb
+++ b/actionpack/lib/action_dispatch/middleware/remote_ip.rb
@@ -2,7 +2,7 @@ module ActionDispatch
# This middleware calculates the IP address of the remote client that is
# making the request. It does this by checking various headers that could
# contain the address, and then picking the last-set address that is not
- # on the list of trusted IPs. This follows the precendent set by e.g.
+ # on the list of trusted IPs. This follows the precedent set by e.g.
# {the Tomcat server}[https://issues.apache.org/bugzilla/show_bug.cgi?id=50453],
# with {reasoning explained at length}[http://blog.gingerlime.com/2012/rails-ip-spoofing-vulnerabilities-and-protection]
# by @gingerlime. A more detailed explanation of the algorithm is given