aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/remote_ip.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-8/+6
* Update links to use https link instead of http [ci skip]Yoshiyuki Hirano2017-08-221-2/+2
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* [docs] fix ActionDispatch documentationHrvoje Šimić2017-03-131-3/+3
* Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-121-2/+2
* Privatize unneededly protected methods in Action PackAkira Matsuda2016-12-241-3/+3
* applies remaining conventions across the projectXavier Noria2016-08-061-2/+0
* applies new string literal convention in actionpack/libXavier Noria2016-08-061-1/+1
* Clearer comment and variable name on IP spoofingGrey Baker2015-11-221-7/+15
* use a request object to access info from env in GetIpAaron Patterson2015-08-061-10/+12
* pass check_ip and proxies to GetIp constructorAaron Patterson2015-06-031-4/+4
* Don't rescue IPAddr::InvalidAddressErrorPeter Suschlik2014-08-291-1/+1
* Refactor ActionDispatch::RemoteIpSam Aarons2014-08-211-52/+38
* [ci skip] Fix capitalizationAkshay Vishnoi2014-06-071-2/+2
* Merge pull request #12651 from cespare/ipv6-remote-ip-fixesRafael Mendonça França2014-05-011-1/+1
|\
| * Make remote_ip detection properly handle private IPv6 addressesCaleb Spare2013-10-261-1/+1
* | Fix parameter naming in RemoteIp middleware constructor methodKalabiYau2014-02-181-2/+2
|/
* make sure both headers are set before checking for ip spoofingTamir Duberstein2013-06-041-1/+1
* Fix some typosVipul A M2013-03-241-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-02-261-1/+1
|\
| * Typo fix.Carson McDonald2013-02-211-1/+1
* | Gist URLs are now namespacedAkira Matsuda2013-02-181-1/+1
|/
* Fix typo.Carson McDonald2013-02-111-1/+1
* Explain the possible precautionsAndre Arko2013-01-021-3/+4
* Restore original remote_ip algorithm.Andre Arko2013-01-021-53/+112
* memoize calculated ip without additional variableSergey Nartimov2012-11-011-6/+4
* Valid ips v4 and v6. Right logic for working with X-FORWARDED-FOR header and ...Alexey Gaziev2012-04-251-22/+68
* Merge pull request #2490 from gsterndale/x_forwarded_for_orderJosé Valim2012-02-071-1/+1
|\
| * The first IP address in the X-Forwarded-For header is the originating IPGreg Sterndale2012-02-071-1/+1
* | Trusted proxies is replaced with a Regexp or appended to with a StringGreg Sterndale2012-02-071-4/+6
|/
* Fix routing test to use assert_equalCarlos Antonio da Silva2012-01-061-2/+2
* It should be @calculated_ip not @calculate_ipArun Agrawal2011-11-171-1/+1
* Initialize our instance variables.Aaron Patterson2011-11-161-1/+3
* :facepalm: Request#remote_ip has to work without the middlewareAndre Arko2011-11-161-1/+1
* Revert "Revert "Merge pull request #3640 from indirect/remote_ip""Andre Arko2011-11-161-3/+6
* Revert "Merge pull request #3640 from indirect/remote_ip"Jon Leighton2011-11-151-6/+3
* GetIp#to_s should never return nil. That's icky.Andre Arko2011-11-141-3/+6
* memoize the relatively expensive remote IP codeAndre Arko2011-11-141-1/+7
* cleaner namesAndre Arko2011-11-141-6/+6
* remove ignored flag, fixes warningsAndre Arko2011-11-131-1/+1
* turns out the tests expect remote_addrs.firstAndre Arko2011-11-131-1/+1
* correctly raise IpSpoofAttackError messageAndre Arko2011-11-131-2/+2
* defer calculating the remote IP until requestedAndre Arko2011-11-121-24/+36
* refactor RemoteIp middlewareAndre Arko2011-11-111-37/+44
* Move remote_ip to a middleware:Carlhuda2010-03-031-0/+51