mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-03 09:17:37 +01:00
Merge pull request #980 from loviuz/master
Fix vulnerabilità su client IP
This commit is contained in:
commit
c965b3fe08
@ -202,7 +202,7 @@ function get_client_ip()
|
||||
$ipaddress = 'UNKNOWN';
|
||||
}
|
||||
|
||||
return $ipaddress;
|
||||
return strip_tags($ipaddress);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user