Description of problem:
Viewing a message with attachments does not show the attachments, even if the
option to view attachments inline is selected, specifically selected the view attachment
link also does not display the attachment. Also, trying to download an attachment by
clicking on the download link results in a parse error on line 337 of
/usr/share/squirrelmail/src/download.php. A quick view of this file reveals a simple
bracketing error (I think).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install squirrelmail, view a message with an image attachment (gif, for example), the
message is not displayed inline even if this option has been selected.
2. Click on the view link beside the attachment at the bottom of the message, the
resulting page dose not display the attachment as expected.
3. Click on the download link to save the attachment to your computer, a parse error
occurs on line 337 of /usr/share/squirrelmail/src/download.php.
The attachment should be displayed when view is selected. The user should be
prompted with a save as dialog when download is selected.
A patch to fix the download option is included here:
*** /usr/share/squirrelmail/src/download.php.old 2003-03-09
--- /usr/share/squirrelmail/src/download.php 2003-03-09 17:19:49.000000000
*** 334,340 ****
$suffix = $type1;
! $filename = 'untitled' . strip_tags($passed_ent_id) .$suffix);
--- 334,340 ----
$suffix = $type1;
! $filename = 'untitled' . strip_tags($passed_ent_id) .$suffix;
*** This bug has been marked as a duplicate of 82600 ***
Use 1.2.10-4 from rawhide which fixes this problem.
*** Bug 86043 has been marked as a duplicate of this bug. ***
The download.php file in /usr/share/squirrelmail/src is damaged. The corredt
file can be extracted from the squirrelmail-1.2.11.tar.gz available at
squirrelmail.org. The rpm file should be rebuilt!
I'm having the exact same problem, whether the attachment is a multimegabyte PDF
or a 760-byte text file.
This is a disturbingly glaring error, and I'm surprised it got by QA. File
attachments are an everyday part of using e-mail for many, many people.
When will a fix be issued?
Clarification of my question: When will a fix be issued via RHN? That's why I
pay my subscription money, after all.
A fix will be issued over RHN at some stage.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.