Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 76911 invoked from network); 5 Jan 2009 23:06:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2009 23:06:06 -0000 Received: (qmail 79896 invoked by uid 500); 5 Jan 2009 23:06:05 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 79859 invoked by uid 500); 5 Jan 2009 23:06:05 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 79849 invoked by uid 99); 5 Jan 2009 23:06:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 15:06:04 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 23:06:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3970F234C485 for ; Mon, 5 Jan 2009 15:05:44 -0800 (PST) Message-ID: <1424232048.1231196744234.JavaMail.jira@brutus> Date: Mon, 5 Jan 2009 15:05:44 -0800 (PST) From: "Jeanne Waldman (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (TRINIDAD-1359) filedownloadactionlistener firefox long filename is truncated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org filedownloadactionlistener firefox long filename is truncated ------------------------------------------------------------- Key: TRINIDAD-1359 URL: https://issues.apache.org/jira/browse/TRINIDAD-1359 Project: MyFaces Trinidad Issue Type: Bug Components: Components Reporter: Jeanne Waldman Assignee: Jeanne Waldman Priority: Minor For filedownloadactionlistener if the filename is really long, it gets truncated in Firefox and it works fine in IE. To reproduce: >From the table demos, tableDemos/exportAsCSV.jspx Set filename="Where-does-it-want-to-cut-off-this-file-is-it-here-or-here-trinidad-to-check-cutoff-longer.csv" Run demo. In Firefox, the file gets saved, but the name is shortened to "Where-does-it-want-to-cut-off-this-file-is-it-h" Fix: The fix is probably to set quotes around the filename in FileDownloadActionListener.java in hsr.setHeader("Content-Disposition", "attachment; filename=" + encodeHTTPHeaderFilename); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.