[freeside-commits] freeside/rt/share/html/Ticket/Attachment dhandler, 1.1.1.3, 1.2
Mark Wells
mark at wavetail.420.am
Tue Aug 2 19:23:50 PDT 2011
Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Attachment
In directory wavetail.420.am:/tmp/cvs-serv30545/rt/share/html/Ticket/Attachment
Modified Files:
dhandler
Log Message:
avoid corrupt attachments, #13209 and #13877
Index: dhandler
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Attachment/dhandler,v
retrieving revision 1.1.1.3
retrieving revision 1.2
diff -u -w -d -r1.1.1.3 -r1.2
--- dhandler 17 Feb 2011 00:25:04 -0000 1.1.1.3
+++ dhandler 3 Aug 2011 02:23:48 -0000 1.2
@@ -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);
More information about the freeside-commits
mailing list