Bug #21638 » 15379_v2.diff
t3lib/class.t3lib_userauth.php (Arbeitskopie) | ||
---|---|---|
} else {
|
||
$parts = t3lib_div::intInRange($parts,1,3);
|
||
$IPparts = explode('.',$IP);
|
||
// don't try to do IPv4 stuff to IPv6 if parts < 4
|
||
$IPv6 = t3lib_div::normalizeIPv6($IP);
|
||
if (t3lib_div::validIPv6($IPv6) && $parts < 4) {
|
||
return $IP;
|
||
}
|
||
for($a=4;$a>$parts;$a--) {
|
||
unset($IPparts[$a-1]);
|
||
}
|
- « Previous
- 1
- 2
- Next »