mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 20:10:50 +01:00
Fix vulnerabilità su client IP
This commit is contained in:
parent
f64e3a7ce1
commit
0f1fb57904
@ -202,7 +202,7 @@ function get_client_ip()
|
|||||||
$ipaddress = 'UNKNOWN';
|
$ipaddress = 'UNKNOWN';
|
||||||
}
|
}
|
||||||
|
|
||||||
return $ipaddress;
|
return strip_tags($ipaddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user