From: Joey Hess Date: Wed, 23 Jun 2010 20:32:20 +0000 (-0400) Subject: stop using REMOTE_ADDR X-Git-Tag: 3.20100704~40 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/4292802ee5f93f7ec7644c5d0a30f7ffeb95e566?hp=4292802ee5f93f7ec7644c5d0a30f7ffeb95e566 stop using REMOTE_ADDR Everywhere that REMOTE_ADDR was used, a session object is available, so instead use its remote_addr method. In IkiWiki::Receive, stop setting a dummy REMOTE_ADDR. Note that it's possible for a session cookie to be obtained using one IP address, and then used from another IP. In this case, the first IP will now be used. I think that should be ok. ---