https://bugzilla.wikimedia.org/show_bug.cgi?id=46836
David Taylor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davidt-mediawiki-bugz@yadt. | |co.uk --- Comment #5 from David Taylor <[email protected]> --- This change means I'm now seeing the 20-byte empty gzip bodies with 304 responses that this code is supposed to prevent. I don't understand how it was supposed to work for ob_get_level() not equal to 0 or 1. Consider the case where ob_get_level() starts at 2: ob_end_clean() will only be called once. for ( $i = 0; $i < ob_get_level(); $i++ ) { ob_end_clean(); } $i = 0; $i < ob_get_level(); [0 < 2: true] ob_end_clean(); $i++ [$i = 1] $i < ob_get_level(); [1 < 1: false] -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
