summaryrefslogtreecommitdiff
path: root/rt/share/html/Ticket/Attachment/dhandler
diff options
context:
space:
mode:
authormark <mark>2011-08-03 02:23:57 +0000
committermark <mark>2011-08-03 02:23:57 +0000
commitdcbcdb1ed71883f8a88eda28f89d8835c38c514e (patch)
tree6080e842323f955c3dc10500fca06a265607bd7d /rt/share/html/Ticket/Attachment/dhandler
parent9260ff22f5bf5b4d24d246ae7b744c323f10f7ac (diff)
avoid corrupt attachments, #13209 and #13877
Diffstat (limited to 'rt/share/html/Ticket/Attachment/dhandler')
-rwxr-xr-xrt/share/html/Ticket/Attachment/dhandler1
1 files changed, 1 insertions, 0 deletions
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);