Api: Fix sharing folders by making sure compression is off

This commit is contained in:
nathan 2022-04-06 14:44:46 -06:00 committed by ralf
parent 665213dab8
commit 2103c2869d

View File

@ -270,6 +270,10 @@ class Etemplate extends Etemplate\Widget\Template
}
if ($output_mode != 1)
{
// Turn compression off so Ajax::headers() does not send a compression header
// echo (used below) is not compatible with browser expecting compressed content
ini_set('zlib.output_compression', 0);
echo $GLOBALS['egw']->framework->header();
if ($output_mode != 2 && !$GLOBALS['egw_info']['flags']['nonavbar'])
{