yii-debug-toolbar
yii-debug-toolbar copied to clipboard
ipFilter for wildcard IPv6 addresses not working
I would like to add a wild card for ipv6 addresses like this:
::ffff:192.168.0.*
This is needed because my nginx server returns ip addresses in that format.
The rule
// IPv6
else if ($ip === $filter)
{
return true;
}
does not allow wildcards