From 0f1fb579047c7b7671ebf94cf4e609adeb7ff90b Mon Sep 17 00:00:00 2001 From: loviuz Date: Mon, 23 Aug 2021 17:30:33 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20vulnerabilit=C3=A0=20su=20client=20IP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index bfb809825..adf663fb2 100755 --- a/lib/functions.php +++ b/lib/functions.php @@ -202,7 +202,7 @@ function get_client_ip() $ipaddress = 'UNKNOWN'; } - return $ipaddress; + return strip_tags($ipaddress); } /**