XFdestek
Kurucu Üye
How to reproduce:
PHP:
What should be returned:
What is actually returned:
This is an invalid IPv6 address.
Possible fix (found at ):
Diff:
PHP:
var_dump(\XF\Util\Ip::binaryToString("*\x02\x124\x124\0\0\0\0\0\0\0\0\0\0", $shorten = false));
What should be returned:
string(39) "2a02:1234:1234:0000:0000:0000:0000:0000"
What is actually returned:
string(24) "2a02:1234:1234:0000:0000"
This is an invalid IPv6 address.
Possible fix (found at ):
Diff: