projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avoid corrupt attachments, #13209 and #13877
[freeside.git]
/
rt
/
share
/
html
/
Ticket
/
Attachment
/
dhandler
diff --git
a/rt/share/html/Ticket/Attachment/dhandler
b/rt/share/html/Ticket/Attachment/dhandler
index
8b41329
..
7330e3c
100755
(executable)
--- a/
rt/share/html/Ticket/Attachment/dhandler
+++ b/
rt/share/html/Ticket/Attachment/dhandler
@@
-86,6
+86,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);