Fix bug in getXVO() that produced XVO headers with stray semicolons
authorCatrope <roan.kattouw@gmail.com>
Fri, 1 Jun 2012 10:19:53 +0000 (03:19 -0700)
committerCatrope <roan.kattouw@gmail.com>
Fri, 1 Jun 2012 12:50:30 +0000 (05:50 -0700)
commit07c643f21590b740b7c32cd1ab6d3a0ba7ebeb97
tree63b8a3a51d6ca81fd1616dba0b9d72ee60a8dee2
parent46138fb5c9ebec56192c64acebed766ac1430898
Fix bug in getXVO() that produced XVO headers with stray semicolons

addVaryHeader() converts $options to an array, so null values (no XVO
options) are converted to empty arrays. This led to headers like:

X-Vary-Options: Foo;string-contains=bar,Baz;,Quux;string-contains=xyz

This fix changes the "Baz;," part to "Baz,"

Change-Id: I2fa0b374f5d4cfa6b894cbd9de8c14354f04ad86
includes/OutputPage.php