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

JakartaStreamMultiPartRequest fails on short file name and on empty file input

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.24
    • Fix Version/s: 2.3.28, 2.5
    • Component/s: None
    • Labels:
      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

            • Assignee:
              aleksandr-m Aleksandr Mashchenko
              Reporter:
              aleksandr-m Aleksandr Mashchenko

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment