Author Topic: Garbage data displayed after mail sent or forwarded.  (Read 4589 times)

Offline grmpf

  • Newbie
  • *
  • Posts: 2
Garbage data displayed after mail sent or forwarded.
« on: July 18, 2006, 03:56:38 PM »
Hi,

I'm using Roundcube for some time now and really like it. Yesterday I tested the latest SVN revision (274) because I'd like to use the mail search feature. Everything works fine, except the redirect after sending or forwarding a mail. In Firefox it displays garbage data and IE complains that it cannot open /. I thought it might be something in the latest revision and tested 260, 269 and 273 too, same behaviour. I don't know whats happening, maybe it has to do something with my PHP version (4.3.3, Apache2/Linux)? If necessary I can put up a screenshot somewhere. Thanks for any info on the problem.

nick..

Offline grmpf

  • Newbie
  • *
  • Posts: 2
Re: Garbage data displayed after mail sent or forwarded.
« Reply #1 on: August 30, 2006, 02:26:25 PM »
Marc got it fixed in index.php:

91c91,92
< if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))
---
> if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression')) {
>  header("Content-Encoding: gzip");
93c94
< else
---
> } else


we have no mod_gzip installed on the server and sometimes the server did not set the "Content-Encoding: gzip" header.

nick..