* Workaround for mysterious problem with bogus epoch If-Last-Modified reqs
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 4 Jul 2005 22:24:06 +0000 (22:24 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 4 Jul 2005 22:24:06 +0000 (22:24 +0000)
RELEASE-NOTES
includes/OutputPage.php

index 4761a8a..8b27ea1 100644 (file)
@@ -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 ===
index 1316919..a5a69ad 100644 (file)
@@ -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 );