[rt-users] Mime types of ticket attachments
Kevin Falcone
falcone at bestpractical.com
Fri Apr 4 11:31:04 EDT 2014
On Fri, Apr 04, 2014 at 09:06:26AM +0400, Arkady Glazov wrote:
> Is it possible change the mime type of ticket attachment files to appropriate type?
> Our clients send in ticket MS Words file in attachment, but RT set mime type to
> "application/octet-stream" and browser can only save file to the disk and cn't open now.
> May i change mime type or may be i can study RT can set correct type?
If your clients aren't sending proper MIME headers, there isn't a lot
RT can do (we just pass along what their browser or mail client send).
However, you can override how RT handles attachments based on their
extensions if you would like, this will override what your clients
send.
https://metacpan.org/pod/RT::Extension::CustomizeContentType
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140404/b1a27ca2/attachment.sig>
More information about the rt-users
mailing list