[freeside-commits] freeside/rt/share/html/Ticket/Attachment dhandler, 1.1.1.2, 1.1.1.2.4.1

Mark Wells mark at wavetail.420.am
Tue Aug 2 19:24:09 PDT 2011


Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Attachment
In directory wavetail.420.am:/tmp/cvs-serv30646/rt/share/html/Ticket/Attachment

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	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.2
retrieving revision 1.1.1.2.4.1
diff -u -w -d -r1.1.1.2 -r1.1.1.2.4.1
--- dhandler	18 May 2010 18:45:49 -0000	1.1.1.2
+++ dhandler	3 Aug 2011 02:24:07 -0000	1.1.1.2.4.1
@@ -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);



More information about the freeside-commits mailing list