X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FOutputHandler.php;h=c6209eebcfbb47ea77b3dabe2d295ba7aaca954a;hb=4db800ee441d51a36861d02a54476c9ded26b0f7;hp=b0bbcddbd33418f98b3f7bc793df1dafcbb26265;hpb=c92a5a812908a7875c7257c8001998014f08f44c;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; }