[freeside-commits] freeside/rt/share/html/Ticket/Attachment dhandler, 1.1.1.3, 1.1.1.3.2.1

Mark Wells mark at wavetail.420.am
Tue Aug 2 19:23:59 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_3_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.3
retrieving revision 1.1.1.3.2.1
diff -u -w -d -r1.1.1.3 -r1.1.1.3.2.1
--- dhandler	17 Feb 2011 00:25:04 -0000	1.1.1.3
+++ dhandler	3 Aug 2011 02:23:57 -0000	1.1.1.3.2.1
@@ -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