From 8f1213a7c5d267d356152f75df680ec90591aaa6 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 4 Jul 2005 22:24:06 +0000 Subject: [PATCH] * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs --- RELEASE-NOTES | 1 + includes/OutputPage.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4761a8af77..8b27ea16c8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -469,6 +469,7 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 2616) Fix proportional image scaling, giving correct height * (bug 2640) Include width and height attributes on unscaled images * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs +* (bug 1109) Suppress compressed output on 304 responses === Caveats === diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 1316919ca0..a5a69adeee 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -124,6 +124,7 @@ class OutputPage { $this->sendCacheControl(); wfDebug( "CACHED client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp\n", false ); $this->disable(); + @ob_end_clean(); // Don't output compressed blob return true; } else { wfDebug( "READY client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp\n", false ); -- 2.20.1