# Un valore elevato per "max lunghezza parole del titolo" causa errore server

**URL:** <https://meta.discourse.org/t/large-value-for-title-max-word-length-causes-server-error/319656>\
**Category:** Bug\
**Tags:** pr-welcome\
**Created:** [1 Agosto 2024, 3:03pm UTC](https://meta.discourse.org/t/large-value-for-title-max-word-length-causes-server-error/319656 "2024-08-01T15:03:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)\
**Post date:** [7 Agosto 2024, 11:15am UTC](https://meta.discourse.org/t/large-value-for-title-max-word-length-causes-server-error/319656/4 "2024-08-07T11:15:29Z")

</div>

Ho provato a farlo limitando `title_max_word_length` a [1, 255].

> <https://github.com/discourse/discourse/pull/28217>
>
> This adds contraints to \`title\_max\_word\_length\` which otherwise could be arbitra…ry large or set to 0, which would effectively block topic creation. The max value is set to the max of \`max\_topic\_title\_length\` (255).
> 
> Related meta topic: https://meta.discourse.org/t/large-value-for-title-max-word-length-causes-server-error/319656

---

_[View the full topic](https://meta.discourse.org/t/large-value-for-title-max-word-length-causes-server-error/319656)._
