diff --git a/libraries/Config.php b/libraries/Config.php index 8eb40df7ac..1821191f30 100644 --- a/libraries/Config.php +++ b/libraries/Config.php @@ -135,16 +135,9 @@ class Config $this->set('OBGzip', false); } - // disable output-buffering (if set to 'auto') for IE6, else enable it. + // enable output-buffering (if set to 'auto') if (strtolower($this->get('OBGzip')) == 'auto') { - if ($this->get('PMA_USR_BROWSER_AGENT') == 'IE' - && $this->get('PMA_USR_BROWSER_VER') >= 6 - && $this->get('PMA_USR_BROWSER_VER') < 7 - ) { - $this->set('OBGzip', false); - } else { - $this->set('OBGzip', true); - } + $this->set('OBGzip', true); } } diff --git a/test/classes/ConfigTest.php b/test/classes/ConfigTest.php index 6454ed0756..c24671792c 100644 --- a/test/classes/ConfigTest.php +++ b/test/classes/ConfigTest.php @@ -162,7 +162,7 @@ class ConfigTest extends PMATestCase $this->object->set('PMA_USR_BROWSER_AGENT', 'IE'); $this->object->set('PMA_USR_BROWSER_VER', 6); $this->object->checkOutputCompression(); - $this->assertFalse($this->object->get("OBGzip")); + $this->assertTrue($this->object->get("OBGzip")); $this->object->set('OBGzip', 'auto'); $this->object->set('PMA_USR_BROWSER_AGENT', 'MOZILLA');