mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat: Limit comment length
Limit the amount of characters that can be entered for a comment. Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
d050b626db
commit
21a23c9abe
14 changed files with 128 additions and 14 deletions
|
@ -49,6 +49,8 @@ salt_rounds = 12
|
|||
redis_address = redis://localhost
|
||||
; Toggles traceback display in templates/errors/500.html.
|
||||
traceback = 0
|
||||
; Maximum number of characters for a comment
|
||||
max_chars_comment = 5000
|
||||
|
||||
[ratelimit]
|
||||
request_limit = 4000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue