dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3991cdc
)
Erase the Content-Encoding and Content-Length for the new output buffer/compression...
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 20 Feb 2007 02:25:27 +0000
(
02:25
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 20 Feb 2007 02:25:27 +0000
(
02:25
+0000)
Fixes Special:Export and probably other things when the HTTP 1.0 stuff engages
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
1bf50e1
..
e9051f9
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-1134,6
+1134,11
@@
function wfResetOutputBuffers( $resetGzipEncoding=true ) {
// so we can start fresh.
header( 'Content-Encoding:' );
}
+ if( $status['name'] == 'wfOutputHandler' ) {
+ // And the custom handler in 1.10+ adds a Content-Length
+ header( 'Content-Encoding:' );
+ header( 'Content-Length:' );
+ }
}
}
}