Closed GoogleCodeExporter closed 9 years ago
Can you try adding this to config.php?
ini_set('zlib.output_compression', '0');
I'm guessing that the content is being HTTP encoded (deflate/gzip) twice; once
by
Minify and once by this directive. If this fixes it I need to add that to
Minify
somewhere.
Original comment by mrclay....@gmail.com
on 6 Oct 2008 at 3:32
This directive didn't help, but thanks for the clue - Apache was indeed
configured to
compress it twice :)
Original comment by galadia
on 6 Oct 2008 at 8:21
Was this Apache setting something that could be detected in $_SERVER or $_ENV?
I
guess a unit test could make an external HTTP call to detect this.
Original comment by mrclay....@gmail.com
on 6 Oct 2008 at 11:27
I really don't know. That was a setting in a custom-made admin panel.
Original comment by galadia
on 6 Oct 2008 at 11:31
R252 now can warn of double-encoding in the builder app and gives a warning
about
this along with the status of PHP's "zlib.output_compression" option and if it
could
be successfully disabled. I think this is about the best I can do here as some
auto-
encoding is undetectable in PHP.
Original comment by mrclay....@gmail.com
on 7 Oct 2008 at 3:12
Original comment by mrclay....@gmail.com
on 7 Oct 2008 at 3:36
Original issue reported on code.google.com by
galadia
on 6 Oct 2008 at 12:08Attachments: