Normalize IPv6 addresses in XFF chains
authorMax Semenik <maxsem.wiki@gmail.com>
Tue, 30 Jul 2013 22:45:48 +0000 (02:45 +0400)
committerMax Semenik <maxsem.wiki@gmail.com>
Thu, 29 Aug 2013 20:55:38 +0000 (00:55 +0400)
commitcfc0770ad00f86f8b7cc70d1d7419d7f97b5c5e6
treebcff13195c6c60ee0367f98f51869b63b0d3b2e2
parent5e8d2ec5c4030e787b833b9b2ea06e54e5a71b19
Normalize IPv6 addresses in XFF chains

Otherwise, we're at proxy's mercy for using the same form of IPs.

Change-Id: I090947958bf699ee6d8a9009c9e4a6d11da23f2c
RELEASE-NOTES-1.22
includes/WebRequest.php
tests/phpunit/includes/WebRequestTest.php