From dcbcdb1ed71883f8a88eda28f89d8835c38c514e Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 3 Aug 2011 02:23:57 +0000 Subject: avoid corrupt attachments, #13209 and #13877 --- rt/share/html/Ticket/Attachment/dhandler | 1 + 1 file changed, 1 insertion(+) (limited to 'rt') diff --git a/rt/share/html/Ticket/Attachment/dhandler b/rt/share/html/Ticket/Attachment/dhandler index 529708284..9d4d5322c 100755 --- a/rt/share/html/Ticket/Attachment/dhandler +++ b/rt/share/html/Ticket/Attachment/dhandler @@ -85,6 +85,7 @@ # $content_type = 'application/octet-stream'; # } + $r->subprocess_env('no-gzip' => 1); # disable mod_deflate $r->content_type( $content_type ); $m->clear_buffer(); $m->out($AttachmentObj->OriginalContent); -- cgit v1.2.1