Apache Commons-FileUpload 1.3 发布 - 开源中国社区
Apache Commons-FileUpload 1.3 发布
oschina 2013年03月28日

Apache Commons-FileUpload 1.3 发布

oschina oschina 发布于2013年03月28日 收藏 8 评论 4

【腾讯云】如何快速搭建微信小程序?>>>  

Apache 的文件上传组件 commons-fileupload 今天发布了 1.3 版本,该版本修复了一个重要的安全问题:

SECURITY - CVE-2013-0248, see http://seclists.org/fulldisclosure/2013/Mar/76

其他改进内容还包括:

Bug
=============

 * [FILEUPLOAD-143] - "Stream ended unexpectedly" when posting from a
Flash client
 * [FILEUPLOAD-173] - Manifest for OSGi has invalid syntax
 * [FILEUPLOAD-183] - commons-io dependency does not get loaded by
maven if only dependency to commons-fileupload is specified
 * [FILEUPLOAD-185] - http://commons.apache.org/fileupload/index.html
is out of date
 * [FILEUPLOAD-186] - http://commons.apache.org/fileupload/index.html
should not mention nightly builds
 * [FILEUPLOAD-189] - DiskFileItemFactory use of FileCleaningTracker
is documented or coded wrong
 * [FILEUPLOAD-195] - Error reading the file size larger than 2 gb
 * [FILEUPLOAD-197] - ServletFileUpload isMultipartContent method does
not support HTTP PUT
 * [FILEUPLOAD-199] - Uploads have unexpected results for files with
non-ASCII names - support RFC2047
 * [FILEUPLOAD-202] -
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException:
Processing of multipart/form-data request failed. Stream ended
unexpectedly
 * [FILEUPLOAD-204] - FileItem.getHeaders() returns always null.
 * [FILEUPLOAD-212] - Insecure request size checking
 * [FILEUPLOAD-214] - ServletFileUpload only accepts POST requests
 * [FILEUPLOAD-228] - (Servlet|Portlet)RequestContext#contentLength()
must return request.getContentLength() if Content-length header is not
available
 * [FILEUPLOAD-229] - toLowerCase() is Locale-dependent; should use
toLowerCase(Locale.ENGLISH) instead
 * [FILEUPLOAD-232] - There are no unit tests for the new utils.mime classes

Improvement
=============

 * [FILEUPLOAD-182] - Documentation: add simple HTML form example to
fileupload user guide
 * [FILEUPLOAD-207] - enhance file read/write performance
 * [FILEUPLOAD-209] - Add Support for Generic Types
 * [FILEUPLOAD-210] - Process HTTP Requests Into Maps
 * [FILEUPLOAD-223] - Update commons-io dependency to latest version
that supports JDK1.5
 * [FILEUPLOAD-224] - Avoid string concatenations while parsing
headers, use buffers instead
 * [FILEUPLOAD-225] - Replace java.rmi.server.UID() with java.util.UUID
 * [FILEUPLOAD-226] - DiskFileItem.counter could be converted to
AtomicInteger (or AtomicLong?)
 * [FILEUPLOAD-227] - Private immutable fields which could be final

Task
=============

 * [FILEUPLOAD-201] - Update to JDK 1.5 and bump IO dependency to 2.X
 * [FILEUPLOAD-215] - version 1.3 improvement tasks

Sub-task
=============

 * [FILEUPLOAD-216] - Update the project tree dirs according to
default Maven conventions
 * [FILEUPLOAD-217] - drop JDK1.3 support and update to Java5
 * [FILEUPLOAD-218] - Update version in POM
 * [FILEUPLOAD-219] - upgrade tests to JUnit 4
 * [FILEUPLOAD-220] - replace package.html with package-info.java
 * [FILEUPLOAD-221] - FileItemHeadersImpl can now use LinkedHashMap
 * [FILEUPLOAD-222] - Mark @deprecated classes/methods with
@Deprecated annotation
 * [FILEUPLOAD-233] - Base64Decoder doesn't correctly implement RFC 4648

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Apache Commons-FileUpload 1.3 发布
分享
评论(4)
最新评论
0
FileUpload感觉不什么样
FastUpload不错
0
Servlet 3 出来了,Spring也集成了 Servlet3 标准的处理方式,这货已经 Out 了。
0
直接看不懂,让我这英语4级考2次都木过的人情何以堪...
0
该版本修复了一个重要的安全问题,建议大家升级到最新版本. 你应该在加上这句就完美了。
顶部