struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19835] - Bugs with MultipartIterator.java
Date Tue, 13 May 2003 02:21:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19835

Bugs with MultipartIterator.java





------- Additional Comments From lifangning@huawei.com  2003-05-13 02:21 -------
Bugs with MultipartIterator.java

           Summary: Bugs with MultipartIterator.java
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: lifangning@huawei.com


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"

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message