diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-02-18 23:57:37 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-02-18 23:59:48 +0900 |
commit | 57b0ae8011ab0502253631bd6fdbc0fc838b593e (patch) | |
tree | e7249f5fb7015446d089e7de6d4e83d6c87bf4d5 /actionpack/lib/action_dispatch | |
parent | b04c81d367323849a0019f6964639efaad0e9df0 (diff) | |
download | rails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.tar.gz rails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.tar.bz2 rails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.zip |
Gist URLs are now namespaced
see: https://github.com/blog/1406-namespaced-gists
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 5b5fa2a0e2..6de9be63c5 100644 --- a/actionpack/lib/action_dispatch/middleware/remote_ip.rb +++ b/actionpack/lib/action_dispatch/middleware/remote_ip.rb @@ -83,7 +83,7 @@ module ActionDispatch # This constant contains a regular expression that validates every known # form of IP v4 and v6 address, with or without abbreviations, adapted - # from {this gist}[https://gist.github.com/1289635]. + # from {this gist}[https://gist.github.com/gazay/1289635]. VALID_IP = %r{ (^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3}$) | # ip v4 (^( |