Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DD019B88 for ; Tue, 13 Mar 2012 22:07:04 +0000 (UTC) Received: (qmail 50351 invoked by uid 500); 13 Mar 2012 22:07:04 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 50277 invoked by uid 500); 13 Mar 2012 22:07:04 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 50269 invoked by uid 99); 13 Mar 2012 22:07:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2012 22:07:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2012 22:06:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A98901E702 for ; Tue, 13 Mar 2012 22:06:39 +0000 (UTC) Date: Tue, 13 Mar 2012 22:06:39 +0000 (UTC) From: "Joe Bowser (Resolved) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <785032025.9774.1331676399711.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2042822351.11361.1328012770353.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CB-210) Fileupload is broken for multibyte filename MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-210. --------------------------- Resolution: Fixed Should be fixed in master > Fileupload is broken for multibyte filename > ------------------------------------------- > > Key: CB-210 > URL: https://issues.apache.org/jira/browse/CB-210 > Project: Apache Callback > Issue Type: Bug > Components: Android > Affects Versions: 1.3.0 > Reporter: Takashi Okamoto > Assignee: Joe Bowser > Fix For: 1.6.0 > > > File name is broken hen file name include multibyte character. > As far as I check the code, > FileTransfer.java may have problem. > dos.writeBytes("Content-Disposition: form-data; name=\"" + fileKey + "\";" + " filename=\"" + fileName + "\"" + LINE_END); > > It must new String(filename.getBytes("UTF-8"), "ISO-8859-1") and it works fine. > regards, > Takashi Okamoto -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira