Skip to content

Commit

Permalink
Protection against XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Aug 25, 2021
1 parent e1d12ba commit 7e9cb89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="card-body">

<h2 class="card-title">@lang('Welcome, :name!', ['name' => auth()->user()->first_name])</h2>
<h2 class="card-title">@lang('Welcome, :name!', ['name' => e(auth()->user()->first_name)])</h2>

<div class="card-text">
{!! $welcomeMessage !!}
Expand Down

0 comments on commit 7e9cb89

Please sign in to comment.