From 5f71f599528b7c3c37d7978d377f900569f20994 Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Wed, 27 Mar 2024 12:18:01 +0100 Subject: [PATCH] prevent xss --- resources/views/search/public/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/search/public/index.blade.php b/resources/views/search/public/index.blade.php index ed202839..13a8a92e 100644 --- a/resources/views/search/public/index.blade.php +++ b/resources/views/search/public/index.blade.php @@ -8,7 +8,7 @@ @if (!$errors->has('search'))

- @lang('Search results for “:search”', ['search' => request('search')]) + @lang('Search results for “:search”', ['search' => e(request('search'))])

@if ($count)