myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Resolved: (TRINIDAD-1359) filedownloadactionlistener firefox long filename is truncated
Date Fri, 09 Jan 2009 00:46:59 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias We├čendorf resolved TRINIDAD-1359.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.11-core
                    1.0.11-core

> 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
>             Fix For:  1.0.11-core,  1.2.11-core
>
>
> 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.


Mime
View raw message