From: Tim Starling Date: Fri, 22 Feb 2008 07:42:07 +0000 (+0000) Subject: fixed XVO header X-Git-Tag: 1.31.0-rc.0~49406 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=d997be54829573de34babf6200b03715f08a56dc;p=lhc%2Fweb%2Fwiklou.git fixed XVO header --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 3f46be8212..1fe36a5f75 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -582,7 +582,13 @@ class OutputPage { global $wgCookiePrefix; $cvCookies = $this->getCacheVaryCookies(); $xvo = 'X-Vary-Options: Accept-Encoding;list-contains=gzip,Cookie;'; + $first = true; foreach ( $cvCookies as $cookieName ) { + if ( $first ) { + $first = false; + } else { + $xvo .= ';'; + } $xvo .= 'string-contains=' . $cookieName; } return $xvo;