You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org> on 2009/01/06 00:05:44 UTC
[jira] Created: (TRINIDAD-1359) filedownloadactionlistener firefox
long filename is truncated
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.
[jira] Commented: (TRINIDAD-1359) filedownloadactionlistener
firefox long filename is truncated
Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661400#action_12661400 ]
Jeanne Waldman commented on TRINIDAD-1359:
------------------------------------------
fixed
> 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.
[jira] Resolved: (TRINIDAD-1359) filedownloadactionlistener firefox
long filename is truncated
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ 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.