Fix IP::toHex for IPv4 addresses with a double/triple 0 block
authorMarius Hoch <hoo@online.de>
Sat, 2 May 2015 16:48:04 +0000 (18:48 +0200)
committerChad Horohoe <chadh@wikimedia.org>
Fri, 18 Dec 2015 09:45:59 +0000 (01:45 -0800)
commit47528dcf6a8a40ad0a1ea99fb49113aa9309b460
tree58204963e33aca4fff3328415609632d164bbe02
parent4826c44e9bd7d5ee5e63f0a48fbbe3b5b033620e
Fix IP::toHex for IPv4 addresses with a double/triple 0 block

Bug: T97897
Signed-off-by: Chad Horohoe <chadh@wikimedia.org>
Change-Id: I5c0a37be42ae2c5091ead487a6d19f6e0dd89b36
includes/utils/IP.php
tests/phpunit/includes/utils/IPTest.php