Closed arhimede closed 5 months ago
https://github.com/dotkernel/admin/blob/4.0/src/App/src/Service/IpService.php#L49C17-L49C31 extend the function validIp
use the constant FILTER_VALIDATE_IP https://www.php.net/manual/en/filter.filters.validate.php
valiadte the IP at return
use FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE instead of hardcoded 172.0.0.1
https://github.com/dotkernel/dot-geoip
handle in controller if for instance is a local IP