From 324a9433af2926031db96511fc7f958ca10b62b2 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Mon, 5 Feb 2024 20:50:58 +0100 Subject: [PATCH] Update UserController.php --- app/Http/Controllers/UserController.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 1c7db71..10989a0 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -1149,7 +1149,11 @@ class UserController extends Controller $user->littlelink_name = $userData['littlelink_name']; } if (isset($userData['littlelink_description'])) { - $user->littlelink_description = $userData['littlelink_description']; + $sanitizedText = $userData['littlelink_description']; + $sanitizedText = strip_tags($sanitizedText, '