mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 17:26:03 +03:00
[bugfix] Increase field size limits when registering apps (#958)
This commit is contained in:
parent
ee6a0a1e15
commit
a9addb59b6
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ import (
|
||||||
|
|
||||||
// these consts are used to ensure users can't spam huge entries into our database
|
// these consts are used to ensure users can't spam huge entries into our database
|
||||||
const (
|
const (
|
||||||
formFieldLen = 64
|
formFieldLen = 1024
|
||||||
formRedirectLen = 512
|
formRedirectLen = 2056
|
||||||
)
|
)
|
||||||
|
|
||||||
// AppsPOSTHandler swagger:operation POST /api/v1/apps appCreate
|
// AppsPOSTHandler swagger:operation POST /api/v1/apps appCreate
|
||||||
|
|
Loading…
Reference in a new issue