aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoscoeDeWah <roscoe@wah.moe>2025-01-01 21:46:20 +0000
committerRoscoeDeWah <roscoe@wah.moe>2025-01-01 21:46:20 +0000
commit296c823fc45db57891531628bd3c7cd5e857e8df (patch)
tree2edc00c2a5e55209181e66009a1587ee35391aee
parentad60b3882603d853088f4b5cde6dc502daddcf4a (diff)
what am I even doingv2025.01.01
-rw-r--r--app/Models/GuestbookEntry.php4
-rw-r--r--config/app.php2
2 files changed, 3 insertions, 3 deletions
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();
diff --git a/config/app.php b/config/app.php
index 61bb148..905c302 100644
--- a/config/app.php
+++ b/config/app.php
@@ -5,7 +5,7 @@ use Illuminate\Support\ServiceProvider;
return [
'name' => env('APP_NAME', 'diskfloppy.me'),
- 'version' => '2024.12.27',
+ 'version' => '2025.01.01',
'env' => env('APP_ENV', 'production'),
'debug' => (bool) env('APP_DEBUG', false),
'url' => env('APP_URL', 'http://localhost'),