myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <>
Subject [jira] Created: (TRINIDAD-1359) filedownloadactionlistener firefox long filename is truncated
Date Mon, 05 Jan 2009 23:05:44 GMT
filedownloadactionlistener firefox long filename is truncated

                 Key: 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"

The fix is probably to set quotes around the filename in in
                        "attachment; filename=" + encodeHTTPHeaderFilename);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message