- Issue created by @Driskell
Currently the wildcard system doesn't work well for subnets.
The problem with the wildcard system is it does not reflect how a subnet behaves. So in the case of having a network of 10.100.5.16/28 it's impossible to white this range. The closest you get is 10.100.5.* but this incorrectly whitelists 10.100.5.255 and 10.100.5.0 which reside on a different subnet.
Use Symfony\Component\HttpFoundation\IpUtils::checkIp(). This fully supports all the necessary IPv4 and IPv6 netmask representations.
Swap out the comparison code for the upstream library
None
None
None
Active
1.0
Code