mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Ip check fix.
This commit is contained in:
parent
8a2e556bd2
commit
edd41de86b
@ -252,7 +252,7 @@ class eIPHandler
|
||||
public function isAddressRoutable($ip)
|
||||
{
|
||||
$ignore = array(
|
||||
'0\..*#' , '#^127\..*' , // Local loopbacks
|
||||
'0\..*' , '^127\..*' , // Local loopbacks
|
||||
'192\.168\..*' , // RFC1918 - Private Network
|
||||
'172\.(?:1[6789]|2\d|3[01])\..*' , // RFC1918 - Private network
|
||||
'10\..*' , // RFC1918 - Private Network
|
||||
|
Loading…
x
Reference in New Issue
Block a user