From 296c823fc45db57891531628bd3c7cd5e857e8df Mon Sep 17 00:00:00 2001 From: RoscoeDeWah Date: Wed, 1 Jan 2025 21:46:20 +0000 Subject: what am I even doing --- app/Models/GuestbookEntry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models/GuestbookEntry.php') diff --git a/app/Models/GuestbookEntry.php b/app/Models/GuestbookEntry.php index f5e2de2..6eee6bd 100644 --- a/app/Models/GuestbookEntry.php +++ b/app/Models/GuestbookEntry.php @@ -20,8 +20,8 @@ class GuestbookEntry extends Model */ public static function insertGuestbookEntry(Request $request) { $newEntry = new GuestbookEntry; - $newEntry->name = htmlspecialchars($request->get('name')); - $newEntry->message = htmlspecialchars($request->get('message')); + $newEntry->name = $request->get('name'); + $newEntry->message = $request->get('message'); $newEntry->ip = $request->ip(); $newEntry->agent = $request->userAgent(); $newEntry->admin = auth()->check(); -- cgit v1.2.3-54-g00ecf