diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-03-24 19:05:41 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-03-24 19:05:41 +0530 |
commit | a8df5bdc5d3cd5ad21758d8e421130bc9518b1dd (patch) | |
tree | 01d6afc6574201a2a4b3f624d630a99bf4d8f902 /actionpack/lib/action_dispatch | |
parent | 1f1adb835a679551b23de8c18514b747ef146137 (diff) | |
download | rails-a8df5bdc5d3cd5ad21758d8e421130bc9518b1dd.tar.gz rails-a8df5bdc5d3cd5ad21758d8e421130bc9518b1dd.tar.bz2 rails-a8df5bdc5d3cd5ad21758d8e421130bc9518b1dd.zip |
Fix some typos
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/remote_ip.rb | 2 |
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 93a2b52996..8879291dbd 100644 --- a/actionpack/lib/action_dispatch/middleware/remote_ip.rb +++ b/actionpack/lib/action_dispatch/middleware/remote_ip.rb @@ -101,7 +101,7 @@ module ActionDispatch (([0-9A-Fa-f]{1,4}:){0,4}:([0-9A-Fa-f]{1,4}:){1}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)) | # ip v6 with compatible to v4 (::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d) |(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)) | # ip v6 with compatible to v4 ([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4}) | # ip v6 with compatible to v4 - (::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4}) | # ip v6 with double colon at the begining + (::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4}) | # ip v6 with double colon at the beginning (([0-9A-Fa-f]{1,4}:){1,7}:) # ip v6 without ending )$) }x |