Large value for "title max word length" causes server error

Currently max topic title length seems to be capped at 255, so maybe title max word length should have that limit too?

I was thinking that one could remove the max word length limit on the title by setting it to 0 (instead of using a very high value), but that actually revealed a separate bug: it currently accepts 0 but that doesn’t disable the check, instead, it becomes impossible to create a topic since no title is valid:

It’s off course possible to revert the commit that surfaced this, but regardless of that, it seems that title max word length needs some validation (e.g. [1, 255])?

2 Likes