fix: sanitize html error messages
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<p class="mt-2 text-lg leading-7 text-neutral-300">There has been an error with the following error message:</p>
|
<p class="mt-2 text-lg leading-7 text-neutral-300">There has been an error with the following error message:</p>
|
||||||
@if ($exception->getMessage() !== '')
|
@if ($exception->getMessage() !== '')
|
||||||
<div class="mt-6 text-sm text-red-500">
|
<div class="mt-6 text-sm text-red-500">
|
||||||
{!! $exception->getMessage() !!}
|
{!! Str::sanitize($exception->getMessage()) !!}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div class="flex items-center mt-10 gap-6">
|
<div class="flex items-center mt-10 gap-6">
|
||||||
|
Reference in New Issue
Block a user