You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Peter Speck <sp...@vitality.dk> on 2005/04/15 18:30:23 UTC

Minor bug in FileUpload

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