commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1455626 - /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileUploadBase.java
Date Tue, 12 Mar 2013 17:08:43 GMT
Author: sebb
Date: Tue Mar 12 17:08:43 2013
New Revision: 1455626

URL: http://svn.apache.org/r1455626
Log:
Document use of default charset

Modified:
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileUploadBase.java

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileUploadBase.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileUploadBase.java?rev=1455626&r1=1455625&r2=1455626&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileUploadBase.java
(original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileUploadBase.java
Tue Mar 12 17:08:43 2013
@@ -429,7 +429,7 @@ public abstract class FileUploadBase {
         try {
             boundary = boundaryStr.getBytes("ISO-8859-1");
         } catch (UnsupportedEncodingException e) {
-            boundary = boundaryStr.getBytes();
+            boundary = boundaryStr.getBytes(); // Intentionally falls back to default charset
         }
         return boundary;
     }



Mime
View raw message