Mimetypes für Attachments

Hilfe zu Znuny Problemen aller Art
Locked
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Mimetypes für Attachments

Post by root »

Hallo,

kennt jemand eine Möglichkeit für den Download von Attachments den Mimetype zu setzen? Da der Download ja durch OTRS und nicht den Apache initiiert wird hilft da auch kein AddType.

Beispiel-URL:

https://HOST/otrs/index.pl/irgendetwas. ... 9;FileID=3

Für alle Dateien die auf .EXT enden soll ein spezieller Mimetype gesetzt werden.

tia,
Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Mimetypes für Attachments

Post by reneeb »

Dazu musst Du Kernel::Modules::AgentTicketAttachment anpassen...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked