WebReponse: Use values altered in 'WebResponseSetCookie' hook
authorBrad Jorsch <bjorsch@wikimedia.org>
Sun, 8 Jul 2018 19:25:18 +0000 (15:25 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 9 Jul 2018 15:01:05 +0000 (11:01 -0400)
commit8885b548ad5f36a45c9119f7f03bc3d43a29a5a3
treec7cdace4e521219cabc08e8a439d5797f002dd31
parentea7101e6e469bdba88dad852d055c8371726da8c
WebReponse: Use values altered in 'WebResponseSetCookie' hook

The 'WebResponseSetCookie' hook is allowed to alter the data for the
cookie being set. We need to actually use those altered values, rather
than setting $cookie and $data earlier in the function.

Bug: T198525
Change-Id: Ia817e3dc5ce17fdcf5057ee5fcb6980baa1333d6
includes/WebResponse.php