From 66bb33a7471fc582851f908cce04c4385a15d764 Mon Sep 17 00:00:00 2001 From: Jay Sizzla Date: Mon, 27 May 2024 19:50:55 +0200 Subject: [PATCH] Validate StoreTorrentRequest with correct DB length --- app/Http/Requests/StoreTorrentRequest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Requests/StoreTorrentRequest.php b/app/Http/Requests/StoreTorrentRequest.php index ebc24079c5..24a579794f 100644 --- a/app/Http/Requests/StoreTorrentRequest.php +++ b/app/Http/Requests/StoreTorrentRequest.php @@ -105,17 +105,17 @@ function (string $attribute, mixed $value, Closure $fail): void { ], 'description' => [ 'required', - 'max:2097152' + 'max:65535' ], 'mediainfo' => [ 'nullable', 'sometimes', - 'max:2097152', + 'max:65535', ], 'bdinfo' => [ 'nullable', 'sometimes', - 'max:2097152', + 'max:4294967295', ], 'category_id' => [ 'required',