From e5a2741d6f917851296aa7170d83d3bfd67160c4 Mon Sep 17 00:00:00 2001 From: fabiodalez-dev Date: Fri, 17 Jul 2026 16:48:22 +0200 Subject: [PATCH] fix(#260): escape social settings inputs with htmlspecialchars, not HtmlHelper::e MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CodeRabbit flagged the Telegram input for using HtmlHelper::e() in a view, which the project rules forbid — but all six social inputs (facebook/twitter/ instagram/linkedin/bluesky/telegram) had the same pattern. Converted them all to htmlspecialchars(..., ENT_QUOTES, 'UTF-8') for consistency, not just the one CodeRabbit saw. --- app/Views/settings/index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Views/settings/index.php b/app/Views/settings/index.php index bbd46d7f..36443c60 100644 --- a/app/Views/settings/index.php +++ b/app/Views/settings/index.php @@ -166,7 +166,7 @@ class="mt-1 block w-full rounded-xl border-gray-300 focus:border-gray-500 focus: @@ -177,7 +177,7 @@ class="block w-full rounded-lg border-gray-300 focus:border-gray-500 focus:ring- @@ -188,7 +188,7 @@ class="block w-full rounded-lg border-gray-300 focus:border-gray-500 focus:ring- @@ -199,7 +199,7 @@ class="block w-full rounded-lg border-gray-300 focus:border-gray-500 focus:ring- @@ -210,7 +210,7 @@ class="block w-full rounded-lg border-gray-300 focus:border-gray-500 focus:ring- @@ -221,7 +221,7 @@ class="block w-full rounded-lg border-gray-300 focus:border-gray-500 focus:ring-