From 8e0170e5bf5dfff92624d85965bde73e59e16555 Mon Sep 17 00:00:00 2001 From: innocente205 <57386850+innocente205@users.noreply.github.com> Date: Fri, 17 Apr 2020 14:34:51 +0700 Subject: [PATCH] Update upload.blade.php Take out spaces in the description and mediainfo input fields to stop them being included in blank form and allow the mediainfo placeholder to show. Also added length validation to prohibit a raw mysql overflow error (500 error) if data is too long. --- resources/views/torrent/upload.blade.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/resources/views/torrent/upload.blade.php b/resources/views/torrent/upload.blade.php index e393b8db85..ab85ce1a86 100644 --- a/resources/views/torrent/upload.blade.php +++ b/resources/views/torrent/upload.blade.php @@ -136,17 +136,13 @@
+ cols="30" rows="10" class="form-control">{{ old('description') }}
+ cols="30" rows="10" maxlength=60000 class="form-control" placeholder="@lang('torrent.media-info-paste')">{{ old('mediainfo') }}