From: Brion Vibber Date: Tue, 20 Feb 2007 05:04:36 +0000 (+0000) Subject: Fix regression: typo caused 'Vary: Accept-Encoding' to be sent overwriting more exact... X-Git-Tag: 1.31.0-rc.0~54000 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=0757f0a92ed1f4b4421313f217d040cb26cba0b0;p=lhc%2Fweb%2Fwiklou.git Fix regression: typo caused 'Vary: Accept-Encoding' to be sent overwriting more exact Vary lines such as the Vary: Accept-Encoding, Cookie used for squid mode --- diff --git a/includes/OutputHandler.php b/includes/OutputHandler.php index b25cb4fe14..d7e7c90fe5 100644 --- a/includes/OutputHandler.php +++ b/includes/OutputHandler.php @@ -33,7 +33,7 @@ function wfGzipHandler( $s ) { $foundVary = false; foreach ( $headers as $header ) { if ( substr( $header, 0, 5 ) == 'Vary:' ) { - $foundVary == true; + $foundVary = true; break; } }