X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FOutputHandler.php;h=c6209eebcfbb47ea77b3dabe2d295ba7aaca954a;hb=0138ee519c972005d12c517bb3e29130fcdfa3ce;hp=b0bbcddbd33418f98b3f7bc793df1dafcbb26265;hpb=239b0c772a3cf4dc2160e2c36c2813cd705adb50;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputHandler.php b/includes/OutputHandler.php index b0bbcddbd3..c6209eebcf 100644 --- a/includes/OutputHandler.php +++ b/includes/OutputHandler.php @@ -129,7 +129,8 @@ function wfGzipHandler( $s ) { $headers = headers_list(); $foundVary = false; foreach ( $headers as $header ) { - if ( substr( $header, 0, 5 ) == 'Vary:' ) { + $headerName = strtolower( substr( $header, 0, 5 ) ); + if ( $headerName == 'vary:' ) { $foundVary = true; break; }