r84062 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84061‎ | r84062 | r84063 >
Date:22:29, 15 March 2011
Author:platonides
Status:ok
Tags:
Comment:
MFT r84060 + RELEASE-NOTES.
Modified paths:
  • /branches/REL1_17/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_17/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/includes/GlobalFunctions.php
@@ -1750,7 +1750,13 @@
17511751 if( $status['name'] == 'ob_gzhandler' ) {
17521752 // Reset the 'Content-Encoding' field set by this handler
17531753 // so we can start fresh.
1754 - header( 'Content-Encoding:' );
 1754+ if ( function_exists( 'header_remove' ) ) {
 1755+ // Available since PHP 5.3.0
 1756+ header_remove( 'Content-Encoding' );
 1757+ } else {
 1758+ // We need to provide a valid content-coding. See bug 28069
 1759+ header( 'Content-Encoding: identity' );
 1760+ }
17551761 break;
17561762 }
17571763 }
Property changes on: branches/REL1_17/phase3/includes/GlobalFunctions.php
___________________________________________________________________
Modified: svn:mergeinfo
17581764 Merged /trunk/phase3/includes/GlobalFunctions.php:r84060
Index: branches/REL1_17/phase3/RELEASE-NOTES
@@ -499,6 +499,8 @@
500500 * (bug 27781) Installer does not warn about 5.1.x. Added a compatibility function
501501 for array_key_exists().
502502 * Fix XML well-formedness on a few pages when $wgHtml5 is true (the default)
 503+* (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler
 504+ are also set.
503505
504506 === API changes in 1.17 ===
505507 * BREAKING CHANGE: action=patrol now requires POST

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84060(Bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler...platonides22:22, 15 March 2011

Status & tagging log