[MGNLDMS-162] filename is not specified in Content-Disposition header Created: 17/Apr/09 Updated: 03/Jul/14 Resolved: 20/Apr/09 |
|
| Status: | Closed |
| Project: | Document Management System (closed) |
| Component/s: | None |
| Affects Version/s: | 1.2.6 |
| Fix Version/s: | 1.4, 1.2.8, 1.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sean McMains | Assignee: | Jan Haderka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Patch included: |
Yes
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
When downloading a ZIP file with various browsers, we noticed that even when Content-Disposition: attachment was set, the ZIP file sometimes downloaded with an HTML extension or, worse, displayed in the window instead of being downloaded at all. This behavior seems to be due to the fact that, while the filename= parameter is provided with the header, no filename is actually specified. Adding a filename appears to correct the behavior. |
| Comments |
| Comment by Jan Haderka [ 20/Apr/09 ] |
|
Nice catch. |
| Comment by Sean McMains [ 07/May/09 ] |
|
It looks like you've marked this as "fixed in 1.2.7", but this was actually submitted and integrated after 1.2.7 was released. (r23637) |
| Comment by Magnolia International [ 07/May/09 ] |
|
Woops, my bad, forgot to mark 1.2.7 as released and add 1.2.8 in Jira. Thanks Sean ! |