diff options
author | Stan Hu <stanhu@gmail.com> | 2016-04-27 22:04:40 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-04-27 22:12:55 -0700 |
commit | e99cf05875af4627e532fee77bd22574dde240d7 (patch) | |
tree | fff4014cf37f8817eac67d039a0ee35701338ac8 /lib/api/notes.rb | |
parent | c01ff1f54b55a60f7c7473d0d8a429d5cf9c1609 (diff) | |
download | gitlab-ce-e99cf05875af4627e532fee77bd22574dde240d7.tar.gz |
Use ActionDispatch Remote IP for Akismet checking
Previously all remote IPs appeared at 127.0.0.1, which made Akismet
not very useful. Using the ActionDispatch Remote IP (http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html)
should provide more reliable results.
Closes #16629
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions