From f1869b091127d0e6e866deb9ecb250ed98814e7a Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 17 Nov 2007 08:14:58 +0000 Subject: [PATCH] Don't use ob_gzhandler if zlib output compression is enabled. --- debian/changelog | 7 +++++++ debian/patches/ob_gzhandler.patch | 11 +++++++++++ debian/patches/series | 1 + 3 files changed, 19 insertions(+) create mode 100644 debian/patches/ob_gzhandler.patch diff --git a/debian/changelog b/debian/changelog index 2b5fb6e..52082d8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +roundcube (0.1~rc2-2) unstable; urgency=low + + * Fix a conflict between ob_gzhandler and zlib output compression, + thanks to kaouete (Closes: #450482). + + -- Vincent Bernat Sat, 17 Nov 2007 09:13:03 +0100 + roundcube (0.1~rc2-1) unstable; urgency=low * New upstream, thanks to Nicolas Stransky (Closes: #447503). This diff --git a/debian/patches/ob_gzhandler.patch b/debian/patches/ob_gzhandler.patch new file mode 100644 index 0000000..4b2827c --- /dev/null +++ b/debian/patches/ob_gzhandler.patch @@ -0,0 +1,11 @@ +--- roundcube/index.php 2007-10-29 21:56:00.000000000 +0100 ++++ roundcube/index.php 2007-11-17 09:10:54.000000000 +0100 +@@ -103,7 +103,7 @@ + if ($_action != 'get' && $_action != 'viewsource') + { + // use gzip compression if supported +- if (function_exists('ob_gzhandler') && ini_get('zlib.output_compression')) ++ if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression')) + ob_start('ob_gzhandler'); + else + ob_start(); diff --git a/debian/patches/series b/debian/patches/series index bde2b5d..af70f21 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ dbconfig-common_support.patch correct_install_path.patch use_packaged_tinymce.patch +ob_gzhandler.patch -- 2.39.2