diff options
author | 2022-11-05 11:06:50 +0100 | |
---|---|---|
committer | 2022-11-05 11:06:50 +0100 | |
commit | a9addb59b6e99400af690c71a7b5c2e621665cb0 (patch) | |
tree | 8322820d16ff16530ea3f3d5fd8d28228f0f77d4 /internal/api/client/app/appcreate.go | |
parent | [bugfix] use the landing page user directly (#956) (diff) | |
download | gotosocial-a9addb59b6e99400af690c71a7b5c2e621665cb0.tar.xz |
[bugfix] Increase field size limits when registering apps (#958)
Diffstat (limited to 'internal/api/client/app/appcreate.go')
-rw-r--r-- | internal/api/client/app/appcreate.go | 4 |
1 files 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 |