diff --git a/app/Http/Controllers/Admin/ServerController.php b/app/Http/Controllers/Admin/ServerController.php index 4a82c1e6..6a3a239c 100644 --- a/app/Http/Controllers/Admin/ServerController.php +++ b/app/Http/Controllers/Admin/ServerController.php @@ -163,7 +163,7 @@ class ServerController extends Controller return $server->suspended ? $server->suspended->diffForHumans() : ''; }) ->editColumn('name', function (Server $server) { - return 'pterodactyl_id . '">' . $server->name . ''; + return 'pterodactyl_id . '">' . strip_tags($server->name) . ''; }) ->rawColumns(['user', 'actions', 'status', 'name']) ->make(); diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 54536f0b..d55ba7a2 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -302,7 +302,7 @@ class UserController extends Controller return '' . $user->role . ''; }) ->editColumn('name', function (User $user) { - return 'pterodactyl_id . '">' . $user->name . ''; + return 'pterodactyl_id . '">' . strip_tags($user->name) . ''; }) ->orderColumn('last_seen', function ($query, $order) { $query->orderBy('last_seen', $order); diff --git a/config/app.php b/config/app.php index 7da98065..4f4fc7a4 100644 --- a/config/app.php +++ b/config/app.php @@ -4,7 +4,7 @@ use App\Models\Settings; return [ - 'version' => '0.7.3', + 'version' => '0.7.4', /* |-------------------------------------------------------------------------- diff --git a/resources/views/admin/products/create.blade.php b/resources/views/admin/products/create.blade.php index c809a2ef..a4fb0dc1 100644 --- a/resources/views/admin/products/create.blade.php +++ b/resources/views/admin/products/create.blade.php @@ -63,7 +63,7 @@