[Tickets #1847] NEW: attachments should download instead of invoking
view if $mime_drivers['horde']['blah']['location'] is unset
bugs at bugs.horde.org
bugs at bugs.horde.org
Thu Apr 21 14:28:04 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1847
-----------------------------------------------------------------------
Ticket | 1847
Created By | liamr at umich.edu
Summary | attachments should download instead of invoking view if $mime_drivers['horde']['blah']['location'] is unset
Queue | IMP
Version | 4.0.3
State | New
Priority | 1. Low
Type | Enhancement
Owners |
-----------------------------------------------------------------------
liamr at umich.edu (2005-04-21 14:28) wrote:
I think this was kind of discussed on the email list in this thread..
http://marc.theaimsgroup.com/?l=imp&m=111298992719086&w=2
and I couldn't really tell from Michael Slusarz's suggestion...
http://marc.theaimsgroup.com/?l=imp&m=111299329404449&w=2
if some sort of "fix" had been added to HEAD.
My suggestion is to change the behavior of the link that contains the
attachment's file name when the mime driver's 'location' parameter is empty
or unset.
Eg... say horde/config/mime_drivers.php says..
$mime_drivers['horde']['msword']['location'] = '/usr/bin/wvHtml';
When a user gets a word attachment, the see something like..
2 example.doc [application/msword] 54 KB Download
It shows the word icon, and when they follow the "example.doc" link, IMP
will try to invoke wvHtml, displaying an error message if it's not
installed.
Say there are users who still want the word icon to be displayed (so they
don't comment out /remove the "msword entry" from
$mime_drivers_map['horde']['registered']) , but don't want to install
wvHtml? What if setting
$mime_drivers['horde']['msword']['location'] = '';
changed the default behavior of the "example.doc" link from "invoke wvHtml"
to "download this file (using the horde download mechanism)?
More information about the bugs
mailing list