From 9a829ff1a505cdde8e67668aca5b11549cdac4d5 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 18 Jun 2006 17:55:50 +0000 Subject: [PATCH] * Workaround possible bug in Firefox nightlies by properly removing the Content-Encoding header instead of sending explicit 'identity' value in StreamFile --- RELEASE-NOTES | 4 ++++ includes/StreamFile.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 873d1331d3..31ab0e048b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -519,6 +519,10 @@ Some default configuration options have changed: interwikis and such. Not yet fully automated. * (bug 6344) Add Special:Uncategorizedimages page * (bug 6357) Update to Russian translation (ru) +* Workaround possible bug in Firefox nightlies by properly removing the + Content-Encoding header instead of sending explicit 'identity' value + in StreamFile + == Compatibility == diff --git a/includes/StreamFile.php b/includes/StreamFile.php index 8c3b5372a7..83417185fd 100644 --- a/includes/StreamFile.php +++ b/includes/StreamFile.php @@ -20,7 +20,7 @@ does not.

while( $status = ob_get_status() ) { ob_end_clean(); if( $status['name'] == 'ob_gzhandler' ) { - header( 'Content-Encoding: identity' ); + header( 'Content-Encoding:' ); } } -- 2.20.1