increase POST_BODY_LENGTH_LIMIT from 20k to 50k for non-patrons

master
Aevann 2023-03-17 13:20:01 +02:00
parent 46462db0e0
commit 2d8434bfdc
1 changed files with 1 additions and 1 deletions

View File

@ -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