From 7e9cb899b61725e88f2997d34e404c01fa83f664 Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Wed, 25 Aug 2021 13:01:37 +0200 Subject: [PATCH] Protection against XSS --- resources/views/show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/show.blade.php b/resources/views/show.blade.php index fec3abb..44be6bd 100644 --- a/resources/views/show.blade.php +++ b/resources/views/show.blade.php @@ -14,7 +14,7 @@
-

@lang('Welcome, :name!', ['name' => auth()->user()->first_name])

+

@lang('Welcome, :name!', ['name' => e(auth()->user()->first_name)])

{!! $welcomeMessage !!}