Merge pull request #980 from loviuz/master

Fix vulnerabilità su client IP
This commit is contained in:
loviuz 2021-08-23 17:34:20 +02:00 committed by GitHub
commit c965b3fe08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ function get_client_ip()
$ipaddress = 'UNKNOWN';
}
return $ipaddress;
return strip_tags($ipaddress);
}
/**