From 8fb5fc0d852fea1be7abcff9647e0b29a53f6e4c Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Thu, 26 Jan 2023 09:16:02 +0100 Subject: [PATCH] #10115 fixed special character in fullname if user have permission --- pandora_console/include/auth/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/auth/mysql.php b/pandora_console/include/auth/mysql.php index e33ce54f5b..94e91116e4 100644 --- a/pandora_console/include/auth/mysql.php +++ b/pandora_console/include/auth/mysql.php @@ -398,7 +398,7 @@ function process_user_login_remote($login, $pass, $api=false) $config['auth_error'] = __('User not found in database or incorrect password'); return false; } else { - $user_info['fullname'] = $sr['cn'][0]; + $user_info['fullname'] = io_safe_input($sr['cn'][0]); $user_info['email'] = $sr['mail'][0]; // Create the user.