Summary | download all as zip under IE. |
Queue | IMP |
Queue Version | 4.0.4 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | tdrewry (at) bu (dot) edu |
Created | 01/07/2006 (7141 days ago) |
Due | |
Updated | 03/20/2006 (7069 days ago) |
Assigned | 01/12/2006 (7136 days ago) |
Resolved | 02/01/2006 (7116 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
(mainly the 'slanty' single/double quotes that MSWord uses) that we
work around when uploading these files. However, there isn't much we
can do when downloading other than tell you to update windows (if this
is indeed the problem).
exhibits this problem.
I have two files which I know cause the error mentioned in this bug
report. However, both of these files contain quotes product which the
original sender considers to be confidential. I have tried modifing
these files so as to not include any of the confidential data, but
then when resaved they work correctly.
Any ideas?
exhibits this problem.
State ⇒ Not A Bug
State ⇒ Feedback
generated? I'm guessing this might be due to (buggy) IE behavior or
us possibly not encoding the filename in the correct manner.
State ⇒ Assigned
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ download all as zip under IE.
Queue ⇒ IMP
State ⇒ Unconfirmed
will fail to be named correctly by the view.php scripts download_all
option. Instead of $zipfile = trim($headers->getValue('subject'));
returning a useable name, a seemingly random 6-8 character name is
generated.
Subsequently the if statement which appends the .zip to a file name
fails and causes the file to be saved without an extension. While
this does not compromise the archive, it does cause confusion to some
users.
Finally, when using the download all with multiple PDF attachments, I
have observed that an attempt to save the file returns an error
message of "The file is corrupt or contains no data".
As a patch I added the following lines to view.php after
"$zipfile = trim($headers->getValue('subject'));":
if ($browser->getBrowser() == 'msie')
$zipfile = _("attachment");
and before
"if (empty($zipfile)) {
$zipfile = _("attachments.zip");
} else {
$zipfile .= '.zip';
}"
Under firefox the original function works correctly.