commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mart...@apache.org
Subject svn commit: r367087 - in /jakarta/commons/proper/fileupload/trunk: src/java/org/apache/commons/fileupload/FileUploadBase.java xdocs/changes.xml
Date Sun, 08 Jan 2006 20:19:40 GMT
Author: martinc
Date: Sun Jan  8 12:19:37 2006
New Revision: 367087

URL: http://svn.apache.org/viewcvs?rev=367087&view=rev
Log:
Uploaded file names were being inadvertently converted to lower case.

Modified:
    jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java
    jakarta/commons/proper/fileupload/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java?rev=367087&r1=367086&r2=367087&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java
(original)
+++ jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/FileUploadBase.java
Sun Jan  8 12:19:37 2006
@@ -433,8 +433,8 @@
         String fileName = null;
         String cd = getHeader(headers, CONTENT_DISPOSITION);
         if (cd != null) {
-            cd = cd.toLowerCase();
-            if (cd.startsWith(FORM_DATA) || cd.startsWith(ATTACHMENT)) {
+            String cdl = cd.toLowerCase();
+            if (cdl.startsWith(FORM_DATA) || cdl.startsWith(ATTACHMENT)) {
                 ParameterParser parser = new ParameterParser();
                 parser.setLowerCaseNames(true);
                 // Parameter parser can handle null input

Modified: jakarta/commons/proper/fileupload/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/fileupload/trunk/xdocs/changes.xml?rev=367087&r1=367086&r2=367087&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/fileupload/trunk/xdocs/changes.xml Sun Jan  8 12:19:37 2006
@@ -41,7 +41,15 @@
 
   <body>
 
-    <release version="1.1" date="Pending" description="Nearing completion">
+    <release version="1.2" date="Pending" description="In development">
+
+      <action dev="martinc" type="fix">
+        File names were being inadvertently converted to lower case.
+      </action>
+
+    </release>
+
+    <release version="1.1" date="2005-12-24" description="Portlet support, substantial
refactoring and numerous bug fixes">
 
       <action dev="martinc" type="update">
         Updates for FileUpload 1.1-RC1.
@@ -320,6 +328,9 @@
         Correction to sample code in the docs.
       </action>
 
+    </release>
+
+    <release version="1.0" date="2003-06-26" description="Initial release">
     </release>
   
     



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


Mime
View raw message