Skip to content

Commit

Permalink
Merge pull request #980 from loviuz/master
Browse files Browse the repository at this point in the history
Fix vulnerabilità su client IP
  • Loading branch information
loviuz committed Aug 23, 2021
2 parents f64e3a7 + 0f1fb57 commit c965b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions.php
Expand Up @@ -202,7 +202,7 @@ function get_client_ip()
$ipaddress = 'UNKNOWN';
}

return $ipaddress;
return strip_tags($ipaddress);
}

/**
Expand Down

0 comments on commit c965b3f

Please sign in to comment.