[imp] msg bigger than limit_inline_size, download without file extension name
Michael M Slusarz
slusarz at horde.org
Thu Jul 11 16:49:29 UTC 2013
Quoting Jan Schneider <jan at horde.org>:
> Zitat von Nethub Online <nethubonline at gmail.com>:
>
>> Hi all,
>>
>> In imp/config/mime_drivers.php, there is a limit_inline_size for both
>> 'plain' and 'html', according to its description "above this limit, the user
>> will only be able to download the part.", it generate a link to let user
>> download the part, however the file doesn't contains extension name (e.g.
>> .html / .txt), for 'plain', the file name is "Text" (without extension
>> name), for 'html', the file name is "HTML_____________" (without
>> extension name)
>>
>>
>> Is it able to be with file extension name? Because normal end-users do not
>> know how to open it (I believe).
>>
>>
>> Horde Version
>>
>> 5.1.1
>>
>> Horde Applications
>>
>> Agora [Forums]: unknown
>> Ansel [Photos]: unknown
>> Chora [Version Control]: unknown
>> Content: 2.0.2
>> Gollem [File Manager]: H5 (3.0.1) (run tests)
>> Hermes [Time Tracking]: unknown
>> Imp [Mail]: H5 (6.1.2) (run tests)
>> Ingo [Filters]: H5 (3.1.1) (run tests)
>> Jonah [News]: unknown
>> Klutz [Comics]: unknown
>> Kolab [Kolab]: unknown
>> Kronolith [Calendar]: H5 (4.1.1) (run tests)
>> Luxor [X-Ref]: unknown
>> Mnemo [Notes]: H5 (4.1.0)
>> Nag [Tasks]: H5 (4.1.0)
>> Passwd [Password]: H5 (5.0.0) (run tests)
>> Sam [Spam]: unknown
>> Sesha [Inventory]: unknown
>> Timeobjects: 2.0.4
>> Trean [Bookmarks]: H5 (1.0.2)
>> Turba [Address Book]: H5 (4.1.0) (run tests)
>> Ulaform [Forms]: unknown
>> Vilma [Mail Admin]: unknown
>> Whups [Tickets]: unknown
>> Wicked [Wiki]: unknown
>>
>> Nethub Online Limited
>> http://www.nethub.com.hk
>
> I think it uses the file name provide by the message part headers.
More specifically, it uses the file name provided by first the
'filename' parameter of Content-Disposition, then the 'name' parameter
of Content-Type, then the Content-Description header, and finally the
MIME subtype.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list