Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-1456

Bugs with MultipartIterator.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Build
    • 1.1 Family
    • Core
    • None
    • Operating System: All
      Platform: PC
    • 19835

    Description

      File: org.apache.struts.upload.MultipartIterator.java
      Line: 254
      //just stop now if the content length is bigger than the maximum allowed size
      if (this.contentLength > this.maxSize)

      should be:

      if (-1 != this.maxSize && this.contentLength > this.maxSize)

      Otherwise, can not set the file size to "no limit"

      Attachments

        Activity

          People

            Unassigned Unassigned
            lifangning@huawei.com lifangning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: