However as mentioned there having a too-high value can be a risk:
<!-- In order to avoid getting a "java.lang.IllegalStateException: Form too large" error when editing large page in
XWiki we need to tell Jetty to allow for large content since by default it only allows for 20K. We do this by
passing the "org.eclipse.jetty.server.Request.maxFormContentSize" attribute.
Note 1: Setting this value too high can leave your server vulnerable to denial of service attacks.
Note 2: We're setting it here instead of in Jetty's XML configuration files so that the XWiki WAR can be used
in any Jetty config and work out of the box.
-->
5120Mb is 640MB, right? That's quite high and I feel it's ok to not support this without a config option. WDYT?
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.