
Hi Alastair,
We've just upgraded to OTRS 2.0.1, and we're seeing problems with the attachment support. Specifically, when we try to download or view attachments via the AgentTicketAttachment action, they get truncated. I've checked in the database with a test attachment and the lengths are correct there. Does anyone have any idea what might be wrong?
I can't explain why (seems to me like a bug in perl), but this patch fixed the problem at my installation: otrs/Kernel/Output/HTML/Generic.pm 1701c1701,1702 < $Output .= "filename=\"$Param{Filename}\"\n"; ---
#$Output .= "filename=\"$Param{Filename}\"\n"; $Output .= "filename=\"".substr($Param{Filename}, 0, length($Param{Filename}))."\"\n";
Ciao, Elmar. -- Global Village GmbH Mehrumer Str. 16 D-46562 Voerde Tel: +49 2855 9651 0 Fax: +49 2855 9651 17 http://www.global-village.de/