You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #20082 [http-foundation] Check if ip is in cidr subnet (damienfern)
This PR was merged into the 5.4 branch.
Discussion
----------
[http-foundation] Check if ip is in cidr subnet
While I was searching a way to check if an IP is included in a CIDR subnet, I found this old stack overflow : https://stackoverflow.com/questions/594112/check-whether-or-not-a-cidr-subnet-contains-an-ip-address
This old question has of course an old answer but also has a "recent" one that might answer to 99% use cases of Symfony devs. And should be in the documentation.
Commits
-------
24a61bd docs(http-foundation): check if ip is in cidr subnet
0 commit comments