Api: Fix sharing folders by making sure compression is off

This commit is contained in:
nathan 2022-04-06 14:44:46 -06:00
parent 1f46fdc7d6
commit 725b32941f

View File

@ -276,6 +276,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'])
{