Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4583

JakartaStreamMultiPartRequest fails on short file name and on empty file input

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.24
    • 2.3.28, 2.5
    • None
    • None

    Description

      JakartaStreamMultiPartRequest will throw IllegalArgumentException with message "Prefix string too short" when trying to submit form with empty file input - source.

      Same exception will be thrown on submitting a file with name shorter than 3 characters.

      Attachments

        Activity

          People

            aleksandr-m Aleksandr Mashchenko
            aleksandr-m Aleksandr Mashchenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: