commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Speck <sp...@vitality.dk>
Subject Minor bug in FileUpload
Date Fri, 15 Apr 2005 16:30:23 GMT
Hi,

Line 545 in org.apache.commons.fileupload.FileUploadBase
is
                 header = new String(buffer, 0, i - 2);
but should be
                 header = new String(buffer, 0, i - 2, "ISO-8859-1");
as http headers 'uses' latin-1, and the native java platform charset  
might be something else.

----
    - Peter Speck


---------------------------------------------------------------------
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