Skip to content

Commit

Permalink
prevent xss
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Mar 27, 2024
1 parent 3990bd2 commit 5f71f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/search/public/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@if (!$errors->has('search'))
<div class="search-results">
<h1 class="search-results-title">
@lang('Search results for “:search”', ['search' => request('search')])
@lang('Search results for “:search”', ['search' => e(request('search'))])
</h1>

@if ($count)
Expand Down

0 comments on commit 5f71f59

Please # to comment.