Raise JSON length limit

it's not hard to hit 5000 if you just throw in a lot of mods
This commit is contained in:
sfan5
2019-05-07 17:30:15 +02:00
committed by GitHub
parent 8aa2efd5eb
commit 794807c9ff

View File

@@ -39,7 +39,7 @@ def announce():
data = request.values["json"]
if len(data) > 5000:
if len(data) > 8192:
return "JSON data is too big.", 413
try: