From 2d8434bfdc84cfc0dfa08eb3a8a2b20d420413d1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 17 Mar 2023 13:20:01 +0200 Subject: [PATCH] increase POST_BODY_LENGTH_LIMIT from 20k to 50k for non-patrons --- files/helpers/config/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index b3e20e62b..64c00142f 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -610,7 +610,7 @@ POST_TITLE_HTML_LENGTH_LIMIT = 1500 # do not make larger than 1500 without alter def POST_BODY_LENGTH_LIMIT(v): if v.patron: return 100000 - return 20000 + return 50000 POST_BODY_HTML_LENGTH_LIMIT = 200000 # do not make larger than 200000 without altering the table