Fix weird bug that caused IP::isInRange("80.0.0.0", "94.0.0.0/24") to return true...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sun, 31 May 2009 14:52:16 +0000 (14:52 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sun, 31 May 2009 14:52:16 +0000 (14:52 +0000)
commite7f76a6e773e46987e86dae95507309470bd886b
treee18ac9c7899fa1d82812c841ede4b300a1adebfa
parente3deb77c3f929739962e0f749784c3c507685b3b
Fix weird bug that caused IP::isInRange("80.0.0.0", "94.0.0.0/24") to return true because "52000000" >= "5E000000" (52000000 >= 5). Thanks, PHP.
includes/IP.php