From a9addb59b6e99400af690c71a7b5c2e621665cb0 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 5 Nov 2022 11:06:50 +0100 Subject: [PATCH] [bugfix] Increase field size limits when registering apps (#958) --- internal/api/client/app/appcreate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/api/client/app/appcreate.go b/internal/api/client/app/appcreate.go index c79c528d9..6060c9480 100644 --- a/internal/api/client/app/appcreate.go +++ b/internal/api/client/app/appcreate.go @@ -31,8 +31,8 @@ import ( // these consts are used to ensure users can't spam huge entries into our database const ( - formFieldLen = 64 - formRedirectLen = 512 + formFieldLen = 1024 + formRedirectLen = 2056 ) // AppsPOSTHandler swagger:operation POST /api/v1/apps appCreate