From 5873c498e9e657b74ed3616311063a4669eaac5c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 9 Aug 2013 06:19:12 -0400 Subject: [PATCH] bug #4025 gzip export is not actually compressed with mod_deflate --- ChangeLog | 1 + export.php | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index dbcbd58d56..ba1d9d30b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog - bug #4036 Call to undefined function mb_detect_encoding (clarify the doc) - bug Missing hints when changing a column's structure - bug #4048 Cannot select foreign value in Search +- bug #4025 gzip export is not actually compressed with mod_deflate 4.0.5.0 (2013-08-04) - bug #3977 Not detected configuration storage diff --git a/export.php b/export.php index 861aa08c1e..6b02d92fb0 100644 --- a/export.php +++ b/export.php @@ -268,11 +268,6 @@ function PMA_gzencodeNeeded() { if (@function_exists('gzencode') && ! @ini_get('zlib.output_compression') - // Here, we detect Apache's mod_deflate so we bet that - // this module is active for this instance of phpMyAdmin - // and therefore, will gzip encode the content - && ! (function_exists('apache_get_modules') - && in_array('mod_deflate', apache_get_modules())) && ! PMA_isGzHandlerEnabled() ) { return true;