feat: Purify for better sanitization

This commit is contained in:
peaklabs-dev committed 2025-01-07 13:47:16 +01:00
1 parent 70f93b1513
commit 8a80401f15
4 files changed
+245 -2

No files matched your search

+1 -1
View File
@@ -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>
@if ($exception->getMessage() !== '')
<div class="mt-6 text-sm text-red-500">
{!! Str::sanitize($exception->getMessage()) !!}
{!! Purify::clean($exception->getMessage()) !!}
</div>
@endif
<div class="flex items-center mt-10 gap-6">