framework icon indicating copy to clipboard operation
framework copied to clipboard

Limit Post Length

Open Chigusa0w0 opened this issue 10 years ago • 3 comments

I found there is NO post length limitation for flarum. So if someone's post content is more than 64KB (MySQL limitation of a single value, may be varied for different people), the whole topic will get into error because of data format error. (the ending tags added by flarum and the part of the content >64kb will be dropped by MySQL)

Although it's really HARD to reach 64KB limitation. A too long post will ruin the post as well. So I think it's necessary to set a limitation to post length.

Chigusa0w0 avatar Feb 15 '16 03:02 Chigusa0w0

I believe this is fixed... Attempting to post a large post gives me this

The content may not be greater than 65535 characters.

kulga avatar Feb 15 '16 03:02 kulga

@kulga in dev-master? Did you try this on the official forums?

luceos avatar Feb 15 '16 08:02 luceos

@Luceos On discuss.flarum.org sandboxed tag Specifically, I can post 65522 characters but not 65523.

kulga avatar Feb 16 '16 03:02 kulga