Clear block cookie if the value is invalid
authorDayllan Maza <dmaza@wikimedia.org>
Mon, 19 Aug 2019 18:59:25 +0000 (14:59 -0400)
committerDayllan Maza <dmaza@wikimedia.org>
Mon, 19 Aug 2019 18:59:25 +0000 (14:59 -0400)
commitdbc0d3c8844f7ab949c8248298fbb762d202962b
treef0d87e6f66548c70c73b9fe10c5248dbde0f363f
parent22a0bde74b67e064660bfd95b0c03d14ddff0a34
Clear block cookie if the value is invalid

When a block cookie is present and the block is invalid or doesn't exists
or the cookie value is invalid or malformed, the cookie is removed.

Bug: T227678
Change-Id: Icaff594686c16a0eb8551b2a4392a14a969b43b0
includes/block/BlockManager.php