Fix-up for I949fc289d: handle falsy cookie values correctly
authorOri Livneh <ori@wikimedia.org>
Thu, 8 Oct 2015 04:45:26 +0000 (21:45 -0700)
committerOri Livneh <ori@wikimedia.org>
Thu, 8 Oct 2015 05:19:47 +0000 (22:19 -0700)
commit15adbabc3a1d564241ee09ac8091760b302b6b6f
treed7ec00970099d34648a52145c7d130c4a00a8647
parent7e20cb51fe190bcf55ccee2ce3afacadce2e72d3
Fix-up for I949fc289d: handle falsy cookie values correctly

Ensure that OutputPage::haveVaryCacheCookies() handles falsey values correctly,
and that it requires a cookie to have a nonempty value before it declares a
match.

Change-Id: I2afe54b62c940187a427498cb4037e1dd0e78dd9
includes/OutputPage.php
tests/phpunit/includes/OutputPageTest.php