Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-538

Url Encoded Forms have the same POST size limit as the Multipart ones

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0.CR3
    • 1.2.12.Final
    • Core
    • None
    • I have resolved this by adding an option to control the multipart size, rather than form encoded size. JSON/XML parsing will also likely want to use the smaller size, so I think it makes sense to allow multipart to be configured separately.

      There is only one parameter to set the max POST size limit for both Multipart form and Urlencoded data. In case of allowing big files POSTs, url encoded forms have also unreasonably high limit.

      Attached patch make form parameters stop processing after a more ordinary limit. Default value is twice the default tomcat size.

            sdouglas1@redhat.com Stuart Douglas
            marcomondini Marco Mondini (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: