Skip to content

Commit

Permalink
Fix vulnerabilità su client IP
Browse files Browse the repository at this point in the history
  • Loading branch information
loviuz committed Aug 23, 2021
1 parent f64e3a7 commit 0f1fb57
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 0f1fb57

Please sign in to comment.